<template>
  <div class="base-container" id="main">
    <t-steps style="margin-bottom: 14px" :current="activeForm" status="process" :onChange="onCurChanged">
      <t-step-item v-for="(project, index) in stepList" :title="project.title" :key="index"
        :content="isSubmit(project.id)">
      </t-step-item>
    </t-steps>
    <t-loading text="加载中..." :fullscreen="false" attach="#main" :loading="applyLoading" size="medium">
    </t-loading>
    <div v-if="activeForm === 0">
      <t-row style="align-items: stretch" :gutter="14">
        <t-col :span="12">
          <t-card class="step-card" size="small" title="填写说明">
            <p>一、填写申报书以前，请先查阅<a target="_blank"
                href="http://111.75.227.156:20101/view/模板/江西省交通运输厅科技项目管理办法.pdf">《江西省交通运输厅科技项目管理办法》</a>有关规定和本年度科技项目申报指南。申报书内各项内容，应实事求是，认真填写，表述明确。外来语要同时用原文和中文表达，第一次出现的缩略词，须注明全称。
            </p>
            <p>二、封面中的项目类别为：重大研发专项、重点工程科技项目、一般科技项目、职业教育改革专项、青年科技项目、标准制修订和决策支持七类。</p>
            <p>三、项目归口管理单位主要指设区市交通运输局、公路中心，赣江新区城乡建设和交通局，九江市港口航运管理局，省直管试点县（市）交通运输局，厅直属各单位、省交投集团、省港口集团等全省交通运输行业企事业单位。</p>
            <p>四、申报者在规定时间登录江西省交通运输厅科技教育管理系统（http://111.75.227.156:20100/），进行网上填报。</p>
            <p>五、项目负责人主持在研厅科技项目不得超过两项（含此次申报数），在研项目合同到期（含申请延期到期）未申请验收的不得申报。</p>
            <p>六、申报书各填写内容，要求达到可行性论证和技术方案深度，可附必要文件资料。</p>
            <p>七、申报单位须在本年度申报规定的日期内完成，逾期申报的项目纳入下年度科技项目管理。</p>
            <p>八、表格里的文字要求按默认的格式填写，若加小标题，请在默认格式上加粗。</p>
            <p>九、本申报书样式可在江西省交通运输厅科技教育管理系统（http://111.75.227.156:20100/）下载。</p>
            <p>十、通讯地址：江西省南昌市红谷滩区卧龙路1999号，江西省交通运输厅科技教育处，邮政编码：330036。</p>
          </t-card>
        </t-col>
      </t-row>
      <t-row style="align-items: stretch" :gutter="14">
        <t-col :span="12">
          <t-card class="step-card" size="small" title="年度计划">
            <t-form ref="form2" :colon="true" class="step-form" labelWidth="100px">
              <t-row>
                <t-col :span="12">
                  <t-table ref="table" rowKey="id" :data="projectCategoryData"
                    :columns="site_tag === 'jtt' ? projectCategoryColumns : projectCategoryColumnsJt" hover>
                    <template #startDate="{ row }">
                      {{ row.startDate ? row.startDate : '未限制' }}
                    </template>
                    <template #applyStatus="{ row }">
                      <t-tag
                        v-if="(dayjs(dayjs().format('YYYY-MM-DD'), 'YYYY-MM-DD') >= dayjs(row.startDate, 'YYYY-MM-DD') && dayjs(dayjs().format('YYYY-MM-DD'), 'YYYY-MM-DD') <= dayjs(row.endDate, 'YYYY-MM-DD')) || (!row.startDate && !row.endDate)"
                        theme="success" variant="light">正常申报
                      </t-tag>
                      <t-tag
                        v-else-if="dayjs(dayjs().format('YYYY-MM-DD'), 'YYYY-MM-DD') < dayjs(row.startDate, 'YYYY-MM-DD') && dayjs(dayjs().format('YYYY-MM-DD'), 'YYYY-MM-DD') <= dayjs(row.endDate, 'YYYY-MM-DD')"
                        theme="warning" variant="light">申报未开始只能暂存
                      </t-tag>
                      <t-tag
                        v-else-if="dayjs(dayjs().format('YYYY-MM-DD'), 'YYYY-MM-DD') > dayjs(row.endDate, 'YYYY-MM-DD')"
                        theme="danger" variant="light">已过期
                      </t-tag>
                    </template>
                    <template #endDate="{ row }">
                      {{ row.endDate ? row.endDate : '未限制' }}
                    </template>
                  </t-table>
                </t-col>
              </t-row>
            </t-form>
          </t-card>
        </t-col>
      </t-row>
      <t-row style="text-align: center">
        <t-col :span="12">
          <t-space :size="10">
            <t-button theme="primary" @click="onCurChanged(1)">开始申报</t-button>
          </t-space>
        </t-col>
      </t-row>
    </div>
    <div v-if="activeForm === 1">
      <t-form :key="activeForm" :colon="true" labelAlign="top" ref="form" :data="formData1" :rules="rules1"
        class="step-form table-form">
        <t-row>
          <t-col :span="1" class="title">项目概况</t-col>
          <t-col :span="11" class="sub-col">
            <t-row style="width: 100%">
              <t-col :span="2" class="title"><span class="require">*</span>项目名称</t-col>
              <t-col :span="10">
                <t-form-item name="projectName">
                  <t-input clearable v-model="formData1.projectName"></t-input>
                </t-form-item>
              </t-col>
            </t-row>
            <t-row>
              <t-col :span="2" class="title"><span class="require">*</span>项目类别</t-col>
              <t-col :span="10">
                <t-form-item name="projectCategory">
                  <t-radio-group @change="onProjectCategoryChange" v-model="formData1.projectCategory"
                    :options="categoryOptions"></t-radio-group>
                </t-form-item>
              </t-col>
            </t-row>
            <t-row>
              <t-col :span="2" class="title"><span class="require">*</span>学科分类</t-col>
              <t-col :span="10">
                <t-select clearable style="width: 390px" v-model="formData1.subjectClassification"
                  :options="dict.type.subject_classification">
                </t-select>
              </t-col>
            </t-row>
            <t-row>
              <t-col :span="2" class="title"><span class="require">*</span>关键词</t-col>
              <t-col :span="10">
                <t-form-item name="keyWord">
                  <t-select v-model="formData1.keyWordList" creatable filterable multiple placeholder="手输支持自定义创建"
                    :options="dict.type.kjxm_key_word" @create="createKeyWordOptions" @change="onKeyWordChange">
                  </t-select>
                </t-form-item>
              </t-col>
            </t-row>
            <t-row>
              <t-col :span="2" class="title"><span class="require">*</span>申报日期</t-col>
              <t-col :span="10">
                <t-form-item name="declareDate">
                  <t-date-picker clearable style="width: 390px" v-model="formData1.declareDate"></t-date-picker>
                </t-form-item>
              </t-col>
            </t-row>
            <t-row>
              <t-col :span="2" class="title"><span class="require">*</span>起止年月</t-col>
              <t-col :span="10">
                <t-date-range-picker v-model="formData1.dateRange" clearable style="width: 390px"></t-date-range-picker>
              </t-col>
            </t-row>
            <t-row>
              <t-col :span="2" class="title"><span class="require">*</span>建议经费总概算</t-col>
              <t-col :span="4">
                <t-form-item name="adviceFunding">
                  <t-input-adornment append="万元">
                    <t-input-number :decimal-places="2"
                      @keyup="() => { if (formData1.adviceFunding) { formData1.adviceFunding = Number((formData1.adviceFunding || 0).toString().match(/^\d+(?:\.\d{0,2})?/)) } }"
                      :allowInputOverLimit="false" clearable style="width: calc(390px - 45px)"
                      v-model="formData1.adviceFunding" theme="normal" :min="0"></t-input-number>
                  </t-input-adornment>
                </t-form-item>
              </t-col>
              <t-col :span="2" class="title"><span class="require">*</span>{{ site_tag === 'jtt' ? '申请厅补助经费：' :
                '申请集团补助经费：'
                }}
              </t-col>
              <t-col :span="4">
                <t-form-item name="subsidyFunding">
                  <t-input-adornment append="万元">
                    <!-- 禁用 重点工程科技项目、一般科技项目、职业教育改革专项、青年科技项目、决策支持 -->
                    <t-input-number
                      :disabled="[1660720633654, 1660720545908, 3782722107465, 2894777741889, 1796784371310].includes(formData1.projectCategory)"
                      :decimal-places="2"
                      @keyup="() => { if (formData1.subsidyFunding) { formData1.subsidyFunding = Number((formData1.subsidyFunding || 0).toString().match(/^\d+(?:\.\d{0,2})?/)) } }"
                      :allowInputOverLimit="false" clearable style="width: calc(390px - 45px)"
                      v-model="formData1.subsidyFunding" theme="normal" :min="0"></t-input-number>
                  </t-input-adornment>
                </t-form-item>
              </t-col>
            </t-row>
            <t-row>
              <t-col :span="2" class="title"><span class="require">*</span>依托平台（重点实验室、工程技术中心等）</t-col>
              <t-col :span="4">
                <t-form-item name="platform">
                  <t-radio-group :options="dict.type.platform_type" v-model="formData1.platform"></t-radio-group>
                </t-form-item>
              </t-col>
              <t-col :span="2" class="title"><span class="require">*</span>所属创新团队</t-col>
              <t-col :span="4">
                <t-form-item name="team">
                  <t-radio-group :options="dict.type.kjxm_team" v-model="formData1.team"></t-radio-group>
                </t-form-item>
              </t-col>
            </t-row>
            <t-row>
              <t-col :span="2" class="title">申报单位</t-col>
              <t-col :span="4">
                {{ formData1.declareDeptName }}
              </t-col>
              <t-col :span="2" class="title">归口管理单位</t-col>
              <t-col :span="4">
                {{ formData1.managerDeptName }}
              </t-col>
            </t-row>
          </t-col>
        </t-row>
        <t-row>
          <t-col :span="1" class="title">项目负责人</t-col>
          <t-col :span="11" class="sub-col">
            <t-row>
              <t-col :span="2" class="title"><span class="require">*</span>姓名</t-col>
              <t-col :span="4">
                <t-form-item name="projectLeader.name">
                  <t-select v-model="formData1.projectLeader.name" creatable filterable @change="onLeaderNameChange"
                    placeholder="请输入姓名" :loading="leaderLoading" @search="remoteProjectLeaderMethod"
                    :options="projectLeaderOptions" @create="createProjectLeaderOptions" />
                </t-form-item>
              </t-col>
              <t-col :span="2" class="title"><span class="require">*</span>性别</t-col>
              <t-col :span="4">
                <t-form-item name="projectLeader.sex">
                  <t-radio-group placeholder="请选择性别" :options="dict.type.sys_user_sex"
                    v-model="formData1.projectLeader.sex">
                  </t-radio-group>
                </t-form-item>
              </t-col>

            </t-row>
            <t-row>
              <t-col :span="2" class="title"><span class="require">*</span>身份证号</t-col>
              <t-col :span="4">
                <t-form-item label="身份证号：" name="projectLeader.idCard">
                  <t-input @change="onIdCardChange" placeholder="请输入身份证号" clearable
                    v-model="formData1.projectLeader.idCard"></t-input>
                </t-form-item>
              </t-col>
              <t-col :span="2" class="title"><span class="require">*</span>出生年月</t-col>
              <t-col :span="4">
                <t-form-item name="projectLeader.birthDate">
                  <t-date-picker placeholder="请选择生日" mode="month" v-model="formData1.projectLeader.birthDate"
                    :disable-date="{
                      after: dayjs().endOf('month').add(-18, 'year').format()
                    }" style="width: 390px"></t-date-picker>
                </t-form-item>
              </t-col>
            </t-row>
            <t-row>
              <t-col :span="2" class="title"><span class="require">*</span>工作单位</t-col>
              <t-col :span="4">
                <t-form-item name="projectLeader.companyId">
                  <t-tree-select clearable filterable :treeProps="{ keys: { value: 'id' } }"
                    @change="(val, content) => { formData1.projectLeader.company = content.node.data.label }"
                    v-model="formData1.projectLeader.companyId" :data="deptMenuOptions"
                    placeholder="选择工作单位"></t-tree-select>
                </t-form-item>
              </t-col>
              <t-col :span="2" class="title"><span class="require">*</span>职务</t-col>
              <t-col :span="4">
                <t-form-item name="projectLeader.duty">
                  <t-input clearable v-model="formData1.projectLeader.duty"></t-input>
                </t-form-item>
              </t-col>
            </t-row>
            <t-row>
              <t-col :span="2" class="title"><span class="require">*</span>技术职称</t-col>
              <t-col :span="4">
                <t-form-item name="projectLeader.profTitId">
                  <t-tree-select clearable @change="onProfTitIdChange" filterable
                    :treeProps="{ keys: { value: 'id', label: 'name' }, valueMode: 'onlyLeaf' }"
                    v-model="formData1.projectLeader.profTitId" :data="profTitOptions"
                    placeholder="技术职称"></t-tree-select>
                </t-form-item>
              </t-col>
              <t-col :span="2" class="title"><span class="require">*</span>职称</t-col>
              <t-col :span="4">
                <t-form-item name="projectLeader.profTit">
                  <t-select :disabled="true" v-model="formData1.projectLeader.profTit" clearable placeholder="请选择职称"
                    :options="dict.type.prof_tit">
                  </t-select>
                </t-form-item>
              </t-col>
            </t-row>
            <t-row>
              <t-col :span="2" class="title"><span class="require">*</span>通讯地址</t-col>
              <t-col :span="10">
                <t-form-item name="projectLeader.address">
                  <t-input clearable v-model="formData1.projectLeader.address"></t-input>
                </t-form-item>
              </t-col>
            </t-row>
            <t-row>
              <t-col :span="2" class="title"><span class="require">*</span>联系电话</t-col>
              <t-col :span="4">
                <t-form-item label="联系电话：" name="projectLeader.phone">
                  <t-input placeholder="请输入手机号码" clearable v-model="formData1.projectLeader.phone"></t-input>
                </t-form-item>
              </t-col>
              <t-col :span="2" class="title"><span class="require">*</span>邮编</t-col>
              <t-col :span="4">
                <t-form-item name="projectLeader.postCode">
                  <t-input clearable v-model="formData1.projectLeader.postCode"></t-input>
                </t-form-item>
              </t-col>
            </t-row>
            <t-row>
              <t-col :span="2" class="title"><span class="require">*</span>学历</t-col>
              <t-col :span="4">
                <t-form-item label="学历" name="projectLeader.education">
                  <t-select v-model="formData1.projectLeader.education" clearable placeholder="请选择学历"
                    :options="dict.type.education">
                  </t-select>
                </t-form-item>
              </t-col>
              <t-col :span="2" class="title"><span class="require">*</span>学位</t-col>
              <t-col :span="4">
                <t-form-item name="projectLeader.degree">
                  <t-select v-model="formData1.projectLeader.degree" clearable placeholder="请选择学位"
                    :options="dict.type.degree">
                  </t-select>
                </t-form-item>
              </t-col>
            </t-row>
            <t-row>
              <t-col :span="2" class="title"><span class="require">*</span>电子信箱</t-col>
              <t-col :span="4">
                <t-form-item name="projectLeader.email">
                  <t-input clearable v-model="formData1.projectLeader.email"></t-input>
                </t-form-item>
              </t-col>
              <t-col :span="2" class="title"><span class="require">*</span>毕业院校</t-col>
              <t-col :span="4">
                <t-form-item name="projectLeader.school">
                  <t-input clearable v-model="formData1.projectLeader.school"></t-input>
                </t-form-item>
              </t-col>
            </t-row>
            <t-row>
              <t-col :span="2" class="title"><span class="require">*</span>专业</t-col>
              <t-col :span="4">
                <t-form-item name="projectLeader.majorName">
                  <t-input clearable v-model="formData1.projectLeader.majorName"></t-input>
                </t-form-item>
              </t-col>
              <t-col :span="2" class="title"><span class="require">*</span>现从事专业</t-col>
              <t-col :span="4">
                <t-form-item name="projectLeader.majorNowName">
                  <t-input clearable v-model="formData1.projectLeader.majorNowName"></t-input>
                </t-form-item>
              </t-col>
            </t-row>
            <t-row>
              <t-col :span="2" class="title"><span class="require">*</span>本项目中承担的任务</t-col>
              <t-col :span="10">
                <t-form-item name="projectLeader.task">
                  <t-input clearable v-model="formData1.projectLeader.task"></t-input>
                </t-form-item>
              </t-col>
            </t-row>
            <t-row>
              <t-col :span="12" class="title">项目负责人成果情况（近五年）</t-col>
            </t-row>
            <t-row>
              <t-col :span="1" class="title">科技奖励</t-col>
              <t-col :span="11" class="sub-col">
                <t-row>
                  <t-col style="flex-direction: column;padding: 0 !important; border: 0;" :flex="1">
                    <t-row>
                      <t-col :span="12" class="sub-title text-center">国家级</t-col>
                    </t-row>
                    <t-row>
                      <t-col :span="12">
                        <t-form-item name="projectLeaderResults.awardsGjCount">
                          <t-input-number theme="normal" :allowInputOverLimit="false"
                            v-model='formData1.projectLeaderResults.awardsGjCount' :min="0"></t-input-number>
                        </t-form-item>
                      </t-col>
                    </t-row>
                  </t-col>
                  <t-col style="flex-direction: column;padding: 0 !important; border: 0" :flex="1">
                    <t-row>
                      <t-col :span="12" class="sub-title text-center">省部级</t-col>
                    </t-row>
                    <t-row>
                      <t-col :span="12">
                        <t-form-item name="projectLeaderResults.awardsSbCount">
                          <t-input-number theme="normal" :allowInputOverLimit="false"
                            v-model='formData1.projectLeaderResults.awardsSbCount' :min="0"></t-input-number>
                        </t-form-item>
                      </t-col>
                    </t-row>
                  </t-col>
                  <t-col class="sub-title text-center" :flex="1">专著/论文</t-col>
                  <t-col style="flex-direction: column;padding: 0 !important; border: 0" :flex="1">
                    <t-row>
                      <t-col :span="12" class="sub-title text-center">中文核心论文</t-col>
                    </t-row>
                    <t-row>
                      <t-col :span="12">
                        <t-form-item name="projectLeaderResults.cnThesisCount">
                          <t-input-number theme="normal" :allowInputOverLimit="false"
                            v-model='formData1.projectLeaderResults.cnThesisCount' :min="0"></t-input-number>
                        </t-form-item>
                      </t-col>
                    </t-row>
                  </t-col>
                  <t-col style="flex-direction: column;padding: 0 !important; border: 0" :flex="1">
                    <t-row>
                      <t-col :span="12" class="sub-title text-center">SCI论文</t-col>
                    </t-row>
                    <t-row>
                      <t-col :span="12">
                        <t-form-item name="projectLeaderResults.sciThesisCount">
                          <t-input-number theme="normal" :allowInputOverLimit="false"
                            v-model='formData1.projectLeaderResults.sciThesisCount' :min="0"></t-input-number>
                        </t-form-item>
                      </t-col>
                    </t-row>
                  </t-col>
                  <t-col style="flex-direction: column;padding: 0 !important; border: 0" :flex="1">
                    <t-row>
                      <t-col :span="12" class="sub-title text-center">EI论文</t-col>
                    </t-row>
                    <t-row>
                      <t-col :span="12">
                        <t-form-item name="projectLeaderResults.eiThesisCount">
                          <t-input-number theme="normal" :allowInputOverLimit="false"
                            v-model='formData1.projectLeaderResults.eiThesisCount' :min="0"></t-input-number>
                        </t-form-item>
                      </t-col>
                    </t-row>
                  </t-col>
                  <t-col style="flex-direction: column;padding: 0 !important; border: 0" :flex="1">
                    <t-row>
                      <t-col :span="12" class="sub-title text-center">ISTP论文</t-col>
                    </t-row>
                    <t-row>
                      <t-col :span="12">
                        <t-form-item name="projectLeaderResults.istpThesisCount">
                          <t-input-number theme="normal" :allowInputOverLimit="false"
                            v-model='formData1.projectLeaderResults.istpThesisCount' :min="0"></t-input-number>
                        </t-form-item>
                      </t-col>
                    </t-row>
                  </t-col>
                  <t-col style="flex-direction: column;padding: 0 !important; border: 0" :flex="1">
                    <t-row>
                      <t-col :span="12" class="sub-title text-center">专著</t-col>
                    </t-row>
                    <t-row>
                      <t-col :span="12">
                        <t-form-item name="projectLeaderResults.treatiseCount">
                          <t-input-number theme="normal" :allowInputOverLimit="false"
                            v-model='formData1.projectLeaderResults.treatiseCount' :min="0"></t-input-number>
                        </t-form-item>
                      </t-col>
                    </t-row>
                  </t-col>
                  <t-col style="flex-direction: column;padding: 0 !important; border: 0" :flex="1">
                    <t-row>
                      <t-col :span="12" class="sub-title text-center">国际学术奖</t-col>
                    </t-row>
                    <t-row>
                      <t-col :span="12">
                        <t-form-item name="projectLeaderResults.academicCount">
                          <t-input-number theme="normal" :allowInputOverLimit="false"
                            v-model='formData1.projectLeaderResults.academicCount' :min="0"></t-input-number>
                        </t-form-item>
                      </t-col>
                    </t-row>
                  </t-col>
                </t-row>
              </t-col>
            </t-row>
            <t-row>
              <t-col :span="1" class="title">成果转化</t-col>
              <t-col :span="11" class="sub-col">
                <t-row>
                  <t-col style="flex-direction: column;padding: 0 !important; border: 0;" :flex="1">
                    <t-row>
                      <t-col :span="12" class="sub-title text-center">中试</t-col>
                    </t-row>
                    <t-row>
                      <t-col :span="12">
                        <t-form-item name="projectLeaderResults.pilotCount">

                          <t-input-number style="width: 100%;" theme="normal" :allowInputOverLimit="false"
                            v-model='formData1.projectLeaderResults.pilotCount' :min="0"></t-input-number>
                        </t-form-item>
                      </t-col>
                    </t-row>
                  </t-col>
                  <t-col style="flex-direction: column;padding: 0 !important; border: 0;" :flex="1">
                    <t-row>
                      <t-col :span="12" class="sub-title text-center">规模化生产</t-col>
                    </t-row>
                    <t-row>
                      <t-col :span="12">
                        <t-form-item name="projectLeaderResults.scaleCount">
                          <t-input-number style="width: 100%;" theme="normal" :allowInputOverLimit="false"
                            v-model='formData1.projectLeaderResults.scaleCount' :min="0"></t-input-number>
                        </t-form-item>
                      </t-col>
                    </t-row>
                  </t-col>
                  <t-col class="sub-title text-center" :flex="1">专利</t-col>
                  <t-col style="flex-direction: column;padding: 0 !important; border: 0;" :flex="1">
                    <t-row>
                      <t-col :span="12" class="sub-title text-center">发明专利</t-col>
                    </t-row>
                    <t-row>
                      <t-col :span="12">
                        <t-form-item name="projectLeaderResults.patentFmCount">
                          <t-input-number style="width: 100%;" theme="normal" :allowInputOverLimit="false"
                            v-model='formData1.projectLeaderResults.patentFmCount' :min="0"></t-input-number>
                        </t-form-item>
                      </t-col>
                    </t-row>
                  </t-col>
                  <t-col style="flex-direction: column;padding: 0 !important; border: 0;" :flex="1">
                    <t-row>
                      <t-col :span="12" class="sub-title text-center">实用新型专利</t-col>
                    </t-row>
                    <t-row>
                      <t-col :span="12">
                        <t-form-item name="projectLeaderResults.patentSyCount">
                          <t-input-number style="width: 100%;" theme="normal" :allowInputOverLimit="false"
                            v-model='formData1.projectLeaderResults.patentSyCount' :min="0"></t-input-number>
                        </t-form-item>
                      </t-col>
                    </t-row>
                  </t-col>
                  <t-col style="flex-direction: column;padding: 0 !important; border: 0;" :flex="1">
                    <t-row>
                      <t-col :span="12" class="sub-title text-center">其他</t-col>
                    </t-row>
                    <t-row>
                      <t-col :span="12">
                        <t-form-item name="projectLeaderResults.otherCount">
                          <t-input-number style="width: 100%;" theme="normal" :allowInputOverLimit="false"
                            v-model='formData1.projectLeaderResults.otherCount' :min="0"></t-input-number>
                        </t-form-item>
                      </t-col>
                    </t-row>
                  </t-col>
                  <t-col style="flex-direction: column;padding: 0 !important; border: 0;" :flex="1">
                    <t-row>
                      <t-col :span="12" class="sub-title text-center">标准制（修）定</t-col>
                    </t-row>
                    <t-row>
                      <t-col :span="12">
                        <t-form-item name="projectLeaderResults.standardCount">
                          <t-input-number style="width: 100%;" theme="normal" :allowInputOverLimit="false"
                            v-model='formData1.projectLeaderResults.standardCount' :min="0"></t-input-number>
                        </t-form-item>
                      </t-col>
                    </t-row>
                  </t-col>
                </t-row>
              </t-col>
            </t-row>
          </t-col>
        </t-row>
        <t-row>
          <t-col :span="1" class="title">联系人</t-col>
          <t-col :span="11" class="sub-col">
            <t-row>
              <t-col :span="2" class="title"><span class="require">*</span>姓名</t-col>
              <t-col :span="4">
                <t-form-item name="projectLinker.name">
                  <t-select v-model="formData1.projectLinker.name" creatable filterable @change="onLinkerNameChange"
                    placeholder="请输入姓名" :loading="linkerLoading" @search="remoteProjectLinkerMethod"
                    :options="projectLinkerOptions" @create="createProjectLinkerOptions" />
                </t-form-item>
              </t-col>
              <t-col :span="2" class="title"><span class="require">*</span>联系电话</t-col>
              <t-col :span="4">
                <t-form-item name="projectLinker.phone">
                  <t-input placeholder="请输入手机号码" clearable v-model="formData1.projectLinker.phone"></t-input>
                </t-form-item>
              </t-col>
            </t-row>
            <t-row>
              <t-col :span="2" class="title"><span class="require">*</span>通讯地址</t-col>
              <t-col :span="10">
                <t-form-item name="projectLinker.address">
                  <t-input clearable v-model="formData1.projectLinker.address"></t-input>
                </t-form-item>
              </t-col>
            </t-row>
            <t-row>
              <t-col :span="2" class="title"><span class="require">*</span>电子信箱</t-col>
              <t-col :span="4">
                <t-form-item name="projectLinker.email">
                  <t-input clearable v-model="formData1.projectLinker.email"></t-input>
                </t-form-item>
              </t-col>
              <t-col :span="2" class="title"><span class="require">*</span>邮编</t-col>
              <t-col :span="4">
                <t-form-item name="projectLinker.postCode">
                  <t-input clearable v-model="formData1.projectLinker.postCode"></t-input>
                </t-form-item>
              </t-col>
            </t-row>
          </t-col>
        </t-row>
        <t-row>
          <t-col :span="12" class="title"><span class="require">*</span>中文摘要（限500字）<span
              class="textTips-color-red">如果遇到格式问题，请先将内容复制到word中调整好，再黏贴到系统中</span></t-col>
        </t-row>
        <t-row>
          <t-col :span="12">
            <t-form-item name="digest">
              <template #label>
                <span class="textTips-color-red">如果遇到格式问题，请先将内容复制到word中调整好，再黏贴到系统中</span>
              </template>
              <tiny-mce-editor :key="activeForm" :maxlength="lengthLimitObj.digestMax"
                :textLength.sync="lengthLimitObj.digest" v-model="formData1.digest"></tiny-mce-editor>
            </t-form-item>
          </t-col>
        </t-row>
        <t-row>
          <t-col :span="2" class="title"><span class="require">*</span>关键词（不超过5个）：</t-col>
          <t-col :span="10">
            <t-form-item name="digestKeyWord">
              <t-select v-model="formData1.digestKeyWordList" creatable filterable multiple :max="5"
                placeholder="手输支持自定义创建" :options="dict.type.kjxm_key_word" @create="createKeyWordOptions"
                @change="onKeyWordChange">
              </t-select>
            </t-form-item>
          </t-col>
        </t-row>
        <t-row>
          <t-col :span="12" class="title">系统查重项目列表<span style="color: red">(根据基本信息和摘要的关键词查询)</span></t-col>
        </t-row>
        <t-row>
          <t-col :span="12" class="sub-col">
            <t-table rowKey="projectId" size="small" :data="formData1.projectEsModelList" :columns="columns" hover>
              <template #index="{ rowIndex }">
                {{ rowIndex + 1 }}
              </template>
              <template #op="{ row, rowIndex }">
                <t-button @click="dialog.objId = row.projectId; dialog.open_digest = true" size="small" variant="text"
                  class="t-button-link">
                  <t-icon name="info-circle" slot="icon" />
                  详情
                </t-button>
                <!--                <t-button  theme="danger" @click="formData1.projectEsModelList.splice(rowIndex, 1)" size="small" variant="text" class="t-button-link">-->
                <!--                  <t-icon name="delete" slot="icon"/>-->
                <!--                  删除-->
                <!--                </t-button>-->
              </template>
            </t-table>
          </t-col>
        </t-row>
        <t-row>
          <t-col :span="12" class="title"><span class="require">*</span>系统查重结论</t-col>
        </t-row>
        <t-row>
          <t-col :span="12">
            <t-form-item name="reviewConclusion">
              <t-textarea :autosize="{ minRows: 5 }" v-model="formData1.reviewConclusion"
                placeholder="填写系统查重结论"></t-textarea>
            </t-form-item>
          </t-col>
        </t-row>
      </t-form>
      <t-row style="text-align: center;margin-top: 20px">
        <t-col :span="12">
          <t-space :size="10">
            <t-button @click="onCurChanged(0)" theme="primary" variant="base">上一步
            </t-button>
            <t-button theme="primary" :loading="applyLoading" @click="onSubmit1()">下一步</t-button>
          </t-space>
        </t-col>
      </t-row>
    </div>
    <div v-if="activeForm === 2">
      <t-form ref="form" :key="activeForm" :colon="true" labelAlign="top" :data="formData2" :rules="rules2">
        <t-row>
          <t-col :span="12">
            <t-card class="step-card" size="small">
              <template v-slot:title>
                1.立项依据、研究内容、目标以及拟解决的关键科学问题（限1000字）
                <span class="textTips-color-red">如果遇到格式问题，请先将内容复制到word中调整好，再黏贴到系统中</span>
              </template>
              <t-form-item name="baseContent">
                <template #label>
                  <span class="textTips-color-red">如果遇到格式问题，请先将内容复制到word中调整好，再黏贴到系统中</span>
                </template>
                <tiny-mce-editor :key="`${activeForm}1`" :maxlength="lengthLimitObj.baseContentMax"
                  :textLength.sync="lengthLimitObj.baseContent" v-model="formData2.baseContent"></tiny-mce-editor>
              </t-form-item>
            </t-card>
          </t-col>
        </t-row>
        <t-row>
          <t-col :span="12">
            <t-card class="step-card" size="small">
              <template v-slot:title>
                2.拟采取的研究方案及可行性分析、本项目的特色与创新之处（限1000字）
                <span class="textTips-color-red">如果遇到格式问题，请先将内容复制到word中调整好，再黏贴到系统中</span>
              </template>
              <t-form-item name="approach">
                <template #label>
                  <span class="textTips-color-red">如果遇到格式问题，请先将内容复制到word中调整好，再黏贴到系统中</span>
                </template>
                <tiny-mce-editor :key="`${activeForm}2`" :maxlength="lengthLimitObj.approachMax"
                  :textLength.sync="lengthLimitObj.approach" v-model="formData2.approach"></tiny-mce-editor>
              </t-form-item>
            </t-card>
          </t-col>
        </t-row>
        <t-row>
          <t-col :span="12">
            <t-card class="step-card" size="small">
              <template v-slot:title>
                3.预期研究结果及表达形式（限500字）
                <span class="textTips-color-red">如果遇到格式问题，请先将内容复制到word中调整好，再黏贴到系统中</span>
              </template>
              <t-form-item name="achievement">
                <template #label>
                  <span class="textTips-color-red">如果遇到格式问题，请先将内容复制到word中调整好，再黏贴到系统中</span>
                </template>
                <tiny-mce-editor :key="`${activeForm}3`" :maxlength="lengthLimitObj.achievementMax"
                  :textLength.sync="lengthLimitObj.achievement" v-model="formData2.achievement"></tiny-mce-editor>
              </t-form-item>
            </t-card>
          </t-col>
        </t-row>
      </t-form>
      <t-row style="text-align: center;margin-top: 20px">
        <t-col :span="12">
          <t-space :size="10">
            <t-button @click="onCurChanged(1)" theme="primary" variant="base">上一步
            </t-button>
            <t-button theme="primary" :loading="applyLoading" @click="onSubmit2()">下一步</t-button>
          </t-space>
        </t-col>
      </t-row>
    </div>
    <div v-if="activeForm === 3">
      <t-alert style="margin-bottom: 14px" theme="info" title="填表说明：">
        <div slot="message">
          <p class="span-txt">
            1.青年科技人员数量占比不低于10%；
          </p>
          <p>2.职业教育改革专项、青年科技项目原则上项目负责人应为1名。</p>
          <p>3.青年人员，具有博士学位，年龄在40周岁以下；具有硕士学位、年龄在35周岁以下，女性年龄可适当放宽2周岁，以上年龄截至申报时间上一年度年底。</p>
        </div>
      </t-alert>
      <project-member :show-tip="true" v-model="formData3.memberList" :projectId="getProjectId()" :editOpen="true"
        phaseType="1"></project-member>
      <t-row style="text-align: center;margin-top: 20px">
        <t-col :span="12">
          <t-space :size="10">
            <t-button @click="onCurChanged(2)" theme="primary" variant="base">上一步
            </t-button>
            <t-button theme="primary" :loading="applyLoading" @click="onSubmit3()">下一步</t-button>
          </t-space>
        </t-col>
      </t-row>
    </div>
    <div v-if="activeForm === 4">
      <t-alert style="margin-bottom: 14px" theme="info" title="填表说明：">
        <div slot="message">
          <p class="span-txt">
            1.项目申报时，只需填列项目经费来源和支出的预算数；在项目结题验收时，项目经费来源和支出的预算和决算数均需埴列。
          </p>
          <p>2.“其他”一栏是在与上几栏内容均不相同时具体填写。</p>
          <p>3.直接费用</p>
          <p>（1）设备费： 是指在项目研究开发过程中购置或试制专用仪器设备，对现有仪器设备 进行升级改造， 以及租赁外单位仪器设备而发生的费用。厅拨经费要严格控制设备购置费支出。</p>
          <p>
            （2）业务费：是指在项目实施过程中消耗的各种材料、辅助材料等低值易耗品的采购、运输、装卸、整理等费用，发生的测试化验加工、燃料动力、出版/文献/信息传播/知识产权事务、会议/差旅/国际合作交流等费用，以及其他相关支出。
          </p>
          <p>（3）劳务费： 是指在项目实施过程中支付给参与项目的研究生、博士后、访问学者和项目聘用的研究人员、科研辅助人员等的劳务性费用，以及支付给临时聘请的咨询专家的费用等。</p>
          <p>4.间接费用</p>
          <p>间接费用总额使用分段超额累退比例法计算和控制，按照不超过直接费用扣除设备购置费后的一定比例核定，具体比例如下：500万元及以下部分不超过30％；超过500万元至1000 万元的部分不超过25％；
            超过1000万元的部分不超过20％。</p>
          <p>（1）管理费：是指在项目研究开发过程中对使用本单位现有仪器设备及房屋，日常水、电、气、暖消耗，以及其他有关管理费用的补助支出。</p>
          <p>（2）绩效支出：是指承担项目研究任务的单位为提高科研工作绩效安排的相关支出。有财政拨款补助的单位安排的绩效支出不得超过直接费用扣除设备购置费后的5％。</p>
        </div>
      </t-alert>
      <project-budget v-model="formData4" :projectId="getProjectId()" :editOpen="true" phaseType="1"></project-budget>
      <t-row style="text-align: center;margin-top: 20px">
        <t-col :span="12">
          <t-space :size="10">
            <t-button @click="onCurChanged(3)" theme="primary" variant="base">上一步
            </t-button>
            <t-button theme="primary" :loading="applyLoading" @click="onSubmit4()">下一步</t-button>
          </t-space>
        </t-col>
      </t-row>
    </div>
    <div v-if="activeForm === 5">
      <project-research-plan ref="project-research-plan" v-model="formData5.ProjectResearchPlan"
        :projectId="getProjectId()" :editOpen="true" phaseType="1"></project-research-plan>
      <t-row style="text-align: center;margin-top: 20px">
        <t-col :span="12">
          <t-space :size="10">
            <t-button @click="onCurChanged(4)" theme="primary" variant="base">上一步
            </t-button>
            <t-button theme="primary" :loading="applyLoading" @click="onSubmit5()">下一步</t-button>
          </t-space>
        </t-col>
      </t-row>
    </div>
    <div v-if="activeForm === 6">
      <project-kpi phaseType="1" :projectId="getProjectId()" ref="project-kpi" v-model="formData6.kpiList"
        :editOpen="true"></project-kpi>
      <t-row style="text-align: center;margin-top: 20px">
        <t-col :span="12">
          <t-space :size="10">
            <t-button @click="onCurChanged(5)" theme="primary" variant="base">上一步
            </t-button>
            <t-button theme="primary" :loading="applyLoading" @click="onSubmit6()">下一步</t-button>
          </t-space>
        </t-col>
      </t-row>
    </div>
    <div v-if="activeForm === 7">
      <t-form ref="form" :key="activeForm" :colon="true" labelAlign="top" :data="formData7" :rules="rules7">
        <t-row>
          <t-col :span="12">
            <t-card class="step-card" size="small">
              <template v-slot:title>
                项目可行性研究报告
                <span class="textTips-color-red">如果遇到格式问题，请先将内容复制到word中调整好，再黏贴到系统中</span>
              </template>
              <t-form-item name="reportContent">
                <template #label>
                  <span class="textTips-color-red">如果遇到格式问题，请先将内容复制到word中调整好，再黏贴到系统中</span>
                </template>
                <tiny-mce-editor :height="1000" :key="`${activeForm}1`"
                  v-model="formData7.reportContent"></tiny-mce-editor>
              </t-form-item>
            </t-card>
          </t-col>
        </t-row>
      </t-form>
      <t-row style="text-align: center;margin-top: 20px">
        <t-col :span="12">
          <t-space :size="10">
            <t-button @click="onCurChanged(6)" theme="primary" variant="base">上一步
            </t-button>
            <t-button theme="primary" :loading="applyLoading" @click="onSubmit7()">下一步</t-button>
          </t-space>
        </t-col>
      </t-row>
    </div>
    <div v-if="activeForm === 8">
      <t-row>
        <t-col :span="12">
          <t-card class="step-card" size="small" title="个人代表性研究成果（应列举申报书明确的研究人员成果；论文、论著不超过5篇；代表性成果和奖励数不超过10项）">
            <project-person-kpi phaseType="1" :use-old-data="true" :projectId="getProjectId()" ref="project-person-kpi"
              v-model="formData8.kpiList" :editOpen="true"></project-person-kpi>
          </t-card>
        </t-col>
      </t-row>
      <t-row style="text-align: center;margin-top: 20px">
        <t-col :span="12">
          <t-space :size="10">
            <t-button @click="onCurChanged(7)" theme="primary" variant="base">上一步
            </t-button>
            <t-button theme="primary" :loading="applyLoading" @click="onSubmit8()">下一步</t-button>
          </t-space>
        </t-col>
      </t-row>
    </div>
    <div v-if="activeForm === 9">
      <t-row>
        <t-col :span="12">
          <project-unit ref="project-unit" v-model="formData9.unitList" :projectId="getProjectId()" :editOpen="true"
            phaseType="1" :isShowTable="secondReviewType == '1'"></project-unit>
        </t-col>
      </t-row>
      <t-row style="text-align: center;margin-top: 20px">
        <t-col :span="12">
          <t-space :size="10">
            <t-button @click="onCurChanged(8)" theme="primary" variant="base">上一步
            </t-button>
            <t-button theme="primary" :loading="applyLoading" @click="onSubmit9()">下一步</t-button>
          </t-space>
        </t-col>
      </t-row>
    </div>
    <div v-if="activeForm === 10">
      <t-row>
        <t-col :span="12">
          <t-table row-key="id" :columns="projectFileColumns" :data="projectFileData">
            <template #id="{ row, rowIndex }">
              {{ rowIndex + 1 }}
            </template>
            <template #op="{ row }">
              <file-upload tips="限制pdf" accept="application/pdf,image/*" v-model="row.fileIds"
                :moduleKey="row.moduleKey" :fileList="row.fileLists" :multiple="true">
                <t-button variant="outline">
                  <t-icon name="cloud-upload" slot="icon" />
                  点击上传
                </t-button>
              </file-upload>
            </template>
            <template #c1="{ row }">
              <a v-if="row.c3" class="t-button-link" :href="`${file_domain}/${row.c3}`" target="_blank">{{ row.c1 }}</a>
              <div v-else>{{ row.c1 }}</div>
            </template>
          </t-table>
        </t-col>
      </t-row>
      <div style="color: red;" v-if="['1', '6'].includes(projectStatus)">注意:请在 {{ endDateOnSubmit }} 23:59:59
        前点击提交，否则会导致项目申报超期!</div>
      <t-row style="text-align: center;margin-top: 20px">
        <t-col :span="12">
          <t-space :size="10">
            <t-button @click="onCurChanged(8)" theme="primary" variant="base">上一步
            </t-button>
            <t-button theme="primary" v-if="['1', '9', '11-3'].includes(projectStatus)" :loading="applyLoading"
              @click="onSubmit10(4)">
              {{ applyLoading ? '提交中...' : '暂存' }}
            </t-button>
            <t-button theme="primary" v-else :loading="applyLoading" @click="onSubmit10(1)">
              {{ applyLoading ? '提交中...' : '确认修改' }}
            </t-button>
            <!-- <t-button v-if="isReviewStatus!=='1'" theme="primary" :loading="applyLoading" @click="onSubmit10(2)">{{ -->
            <t-button v-if="isShowSubmitBtn" theme="primary" :loading="applyLoading" @click="onSubmit10(2)">{{
              applyLoading ? '提交中...' : '提交到单位管理员'
              }}
            </t-button>
            <!-- 处理附件 -->
            <t-button v-if="(projectStatus == '9' || projectStatus == '11-3') && secondReviewType == '1'"
              theme="primary" :loading="applyLoading" @click="onSubmit10(3)">{{
                applyLoading ? '提交中...' : '提交到单位管理员'
              }}
            </t-button>
          </t-space>
        </t-col>
      </t-row>
    </div>
    <project-digest-dialog :objId="dialog.objId" :visible.sync="dialog.open_digest"
      v-if="dialog.open_digest"></project-digest-dialog>
  </div>
</template>

<script>
import { VITE_FILE_DOMAIN } from '@/api/upload'
import TinyMceEditor from "@/components/TinyMceEditor/index.vue";
import dayjs from "dayjs";
import { getIdCardBirthday, getIdCardAge } from '@/utils/common';
import ProjectMember from "./components/project-member.vue";
import ProjectBudget from "./components/project-budget.vue";
import ProjectResearchPlan from "./components/project-research-plan.vue";
import ProjectKpi from "./components/project-kpi.vue";
import ProjectPersonKpi from "./components/project-person-kpi.vue";
import ProjectUnit from "./components/project-unit.vue";
import ProjectDigestDialog from "./components/project-digest-dialog.vue";
import FileUpload from "@/components/FileUpload/index.vue";

import { getFiles } from "@/api/common";
import { TODAY } from '@/utils/date';


export default {
  name: "project-apply",
  dicts: ["subject_classification", "kjxm_team", "platform_type", "sys_user_sex", "prof_tit", "degree", "kjxm_key_word", "education"],
  components: {
    TinyMceEditor,
    ProjectMember,
    ProjectBudget,
    ProjectResearchPlan,
    ProjectKpi,
    ProjectPersonKpi,
    ProjectUnit,
    FileUpload,
    ProjectDigestDialog
  },
  data () {
    return {
      projectStatus: '',
      secondReviewType: '',
      dialog: {
        objId: null,
        open_digest: false,
      },
      isShowSubmitBtn: true,
      columns: [
        {
          colKey: "index",
          title: "序号",
          align: "center",
          width: 90
        },
        {
          colKey: "projectName",
          title: "项目名称",
          align: "center",
        },
        {
          colKey: "keyWord",
          title: "关键词",
          align: "center",
        },
        {
          colKey: "op",
          title: "操作",
          align: "center",
        }
      ],
      file_domain: VITE_FILE_DOMAIN,
      site_tag: import.meta.env.VITE_SITE_TAG,
      projectFileData: [
        {
          id: 1,
          c1: "查新报告",
          c2: "是",
          moduleKey: "projectCXBG",
          fileIds: [],
          fileLists: [],
          require: true,
        },
        {
          id: 2,
          c1: "项目承担单位科研诚信承诺书(模版)",
          c2: "是",
          c3: 'view/模板/项目承担单位科研诚信承诺书.pdf',
          fileIds: [],
          fileLists: [],
          moduleKey: "projectCNS",
          require: true,
        },
        {
          id: 3,
          c1: "项目组科研诚信承诺书(模版)",
          c2: "是",
          c3: 'view/模板/新项目组科研诚信承诺书.pdf',
          fileIds: [],
          fileLists: [],
          moduleKey: "projectTeamCNS",
          require: true,
        },
        // {
        //   id: 4,
        //   c1: "归口管理单位同意申报函",
        //   c2: "由归口管理单位审批时上传",
        //   c3: 'view/模板/归口管理单位同意申报函模板.pdf',
        //   fileIds: [],
        //   fileLists: [],
        //   moduleKey: "projectGKTYSBH",
        //   require: false,
        // },
        {
          id: 8,
          c1: "其他",
          c2: "否",
          moduleKey: "projectQT",
          fileIds: [],
          fileLists: [],
          require: false,
        },
      ],
      projectFileData2: [
        {
          id: 1,
          c1: "查新报告",
          c2: "是",
          moduleKey: "projectCXBG",
          fileIds: [],
          fileLists: [],
          require: true,
        },
        {
          id: 2,
          c1: "项目承担单位科研诚信承诺书(模版)",
          c2: "是",
          c3: 'view/模板/项目承担单位科研诚信承诺书.pdf',
          fileIds: [],
          fileLists: [],
          moduleKey: "projectCNS",
          require: true,
        },
        {
          id: 3,
          c1: "项目组科研诚信承诺书(模版)",
          c2: "是",
          c3: 'view/模板/新项目组科研诚信承诺书.pdf',
          fileIds: [],
          fileLists: [],
          moduleKey: "projectTeamCNS",
          require: true,
        },
        // {
        //   id: 4,
        //   c1: "归口管理单位同意申报函",
        //   c2: "由归口管理单位审批时上传",
        //   c3: 'view/模板/归口管理单位同意申报函模板.pdf',
        //   fileIds: [],
        //   fileLists: [],
        //   moduleKey: "projectGKTYSBH",
        //   require: false,
        // },
        {
          id: 5,
          c1: "研究试验费的请示",
          c2: "是",
          // c3: 'view/模板/新项目组科研诚信承诺书.pdf',
          fileIds: [],
          fileLists: [],
          moduleKey: "projectYJSYFDQS",
          require: true,
        },
        {
          id: 6,
          c1: "研究试验费的批复",
          c2: "是",
          // c3: 'view/模板/新项目组科研诚信承诺书.pdf',
          fileIds: [],
          fileLists: [],
          moduleKey: "projectYJSYFDPF",
          require: true,
        },
        // {
        //   id: 7,
        //   c1: "立项审查情况的说明",
        //   c2: "由归口管理单位审批时上传",
        //   // c3: 'view/模板/新项目组科研诚信承诺书.pdf',
        //   fileIds: [],
        //   fileLists: [],
        //   moduleKey: "projectLXSCQKDSM",
        //   require: false,
        // },
        {
          id: 8,
          c1: "其他",
          c2: "否",
          moduleKey: "projectQT",
          fileIds: [],
          fileLists: [],
          require: false,
        },
      ],
      projectFileData3: [
        {
          id: 8,
          c1: "相关附件",
          c2: "否",
          moduleKey: "projectQT",
          fileIds: [],
          fileLists: [],
          require: false,
        },
      ],
      projectFileColumns: [
        {
          colKey: "id",
          title: "序号",
          align: "center",
          width: 64
        },
        {
          colKey: "c1",
          title: "附件名称",
          align: "center",
        },

        {
          colKey: "c2",
          title: "是否必需",
          align: "center",
        },
        {
          colKey: "op",
          title: "操作",
          align: "left",
        },
      ],
      lengthLimitObj: {
        digest: 0,
        digestMax: 500,
        baseContent: 0,
        baseContentMax: 1000,
        approach: 0,
        approachMax: 1000,
        achievement: 0,
        achievementMax: 500,
      },
      taskId: null,
      profTitOptions: [],
      deptMenuOptions: [],
      categoryOptions: [],
      dayjs,
      endDateOnSubmit: null,
      site_tag: import.meta.env.VITE_SITE_TAG,
      leaderLoading: false,
      linkerLoading: false,
      projectLinkerOptions: [],
      projectLeaderOptions: [],
      planData: {},
      formData1: {
        projectEsModelList: [],
        subjectClassification: '',
        keyWordList: [],
        digestKeyWordList: [],
        dateRange: [],
        projectName: '',
        projectCategory: 1660720545908,
        projectType: '',
        declareDate: TODAY,
        keyWord: '',
        digestKeyWord: '',
        startDate: '',
        endDate: '',
        adviceFunding: 0,
        subsidyFunding: 0,
        platform: '',
        team: '',
        declareDeptId: null,
        declareDeptName: this.$store.state.user.deptName,
        managerDeptId: null,
        managerDeptName: '',
        projectLeader: {
          id: null,
          name: '',
          sex: '1',
          birthDate: '2000-01',
          phone: '',
          address: '',
          email: '',
          postCode: '',
          profTit: '',
          school: '',
          majorName: '',
          degree: '',
          duty: '',
          // departmentId: null,
          companyId: null,
          company: '',
          profTitId: null,
          workDepartment: '',
          majorNowName: '',
          task: '',
          type: '1',
          isAssist: '0',
          idCard: '',
          education: '',
        },
        projectLeaderResults: {
          awardsGjCount: 0,
          awardsSbCount: 0,
          cnThesisCount: 0,
          sciThesisCount: 0,
          eiThesisCount: 0,
          istpThesisCount: 0,
          treatiseCount: 0,
          academicCount: 0,
          pilotCount: 0,
          scaleCount: 0,
          patentFmCount: 0,
          patentSyCount: 0,
          otherCount: 0,
          standardCount: 0,
        },
        projectLinker: {
          id: null,
          name: '',
          phone: '',
          email: '',
          postCode: '',
          address: '',
        },
        digest: '',
        version: '2024',
        reviewConclusion: '经过仔细查重，本课题在立项依据、研究内容、目标以及拟解决的关键科学问题和研究方案中未发现重复内容。'
      },
      rules1: {
        digest: [
          {
            required: true,
            message: "中文摘要不能为空",
          }
        ],
        reviewConclusion: [
          {
            required: true,
            message: "系统查重结论不能为空",
          }
        ],
        keyWordList: [{ required: true, validator: (val) => val && val.length, message: "项目概况关键词不能为空", type: "error" }],
        digestKeyWordList: [{
          required: true,
          validator: (val) => val && val.length,
          message: "摘要关键词不能为空",
          type: "error"
        }],
        subjectClassification: [
          {
            required: true,
            message: "学科分类不能为空",
          }
        ],
        declareDate: [
          {
            required: true,
            message: "申报日期不能为空",
          },
        ],
        dateRange: [
          { required: true, validator: (val) => val && val.length, message: "起止年月不能为空", type: "error" }
        ],
        projectName: [
          {
            required: true,
            message: "项目名称不能为空",
          },
        ],
        projectCategory: [
          {
            required: true,
            message: "项目类别不能为空",
          },
        ],
        adviceFunding: [
          {
            required: true,
            message: "建议经费总概算不能为空",
          },
        ],
        subsidyFunding: [
          {
            required: true,
            message: "申请补助经费不能为空",
          },
        ],
        platform: [
          {
            required: true,
            message: "依托平台不能为空",
          },
        ],
        team: [
          {
            required: true,
            message: "所属创新团队不能为空",
          },
        ],
        'projectLeader.companyId': [
          {
            required: true,
            message: "项目负责人工作单位不能为空",
          },
        ],
        'projectLeader.name': [
          {
            required: true,
            message: "项目负责人姓名不能为空",
          },
        ],
        'projectLeader.sex': [
          {
            required: true,
            message: "项目负责人性别不能为空",
          },
        ],
        'projectLeader.birthDate': [
          {
            required: true,
            message: "项目负责人出生年月不能为空",
          },
        ],
        'projectLeader.idCard': [
          {
            required: true,
            message: "项目负责人身份证号不能为空",
          },
          {
            message: "项目负责人身份证号不正确",
            pattern: /^\d{6}((((((19|20)\d{2})(0[13-9]|1[012])(0[1-9]|[12]\d|30))|(((19|20)\d{2})(0[13578]|1[02])31)|((19|20)\d{2})02(0[1-9]|1\d|2[0-8])|((((19|20)([13579][26]|[2468][048]|0[48]))|(2000))0229))\d{3})|((((\d{2})(0[13-9]|1[012])(0[1-9]|[12]\d|30))|((\d{2})(0[13578]|1[02])31)|((\d{2})02(0[1-9]|1\d|2[0-8]))|(([13579][26]|[2468][048]|0[048])0229))\d{2}))(\d|X|x)$/,
          },
        ],
        'projectLeader.phone': [
          {
            required: true,
            message: "项目负责人联系电话不能为空",
          },
          {
            pattern: /^1[3|4|5|6|7|8|9][0-9]\d{8}$/,
            message: "项目负责人联系电话请输入正确的手机号码",
          },
        ],
        'projectLeader.address': [
          {
            required: true,
            message: "项目负责人地址不能为空",
          },
        ],
        'projectLeader.email': [
          {
            required: true,
            message: "项目负责人邮箱不能为空",
          },
          { email: { ignore_max_length: true }, message: '请输入正确的邮箱地址' }
        ],
        'projectLeader.postCode': [
          {
            required: true,
            message: "项目负责人邮编不能为空",
          },
        ],
        'projectLeader.school': [
          {
            required: true,
            message: "项目负责人毕业院校不能为空",
          },
        ],
        'projectLeader.education': [
          {
            required: true,
            message: "项目负责人学历不能为空",
          },
        ],
        'projectLeader.degree': [
          {
            required: true,
            message: "项目负责人学位不能为空",
          },
        ],
        'projectLeader.majorName': [
          {
            required: true,
            message: "项目负责人所学专业不能为空",
          },
        ],
        'projectLeader.majorNowName': [
          {
            required: true,
            message: "项目负责人现从事专业不能为空",
          },
        ],
        'projectLeader.task': [
          {
            required: true,
            message: "项目负责人在本项目中承担的任务不能为空",
          },
        ],
        'projectLeader.duty': [
          {
            required: true,
            message: "项目负责人职务不能为空",
          },
        ],
        'projectLeader.profTit': [
          {
            required: true,
            message: "项目负责人职称不能为空",
          },
        ],
        'projectLeader.profTitId': [
          {
            required: true,
            message: "项目负责人技术职称不能为空",
          },
        ],
        'projectLinker.name': [
          {
            required: true,
            message: "联系人姓名不能为空",
          },
        ],
        'projectLinker.phone': [
          {
            required: true,
            message: "联系人电话不能为空",
          },
          {
            pattern: /^1[3|4|5|6|7|8|9][0-9]\d{8}$/,
            message: "联系人电话请输入正确的手机号码",
          },
        ],
        'projectLinker.address': [
          {
            required: true,
            message: "联系人通讯地址不能为空",
          },
        ],
        'projectLinker.email': [
          {
            required: true,
            message: "联系人邮箱不能为空",
          },
          { email: { ignore_max_length: true }, message: '请输入正确的邮箱地址' }
        ],
        'projectLinker.postCode': [
          {
            required: true,
            message: "联系人邮编不能为空",
          },
        ],
      },
      formData2: {
        projectId: null,
        baseContent: '',
        approach: '',
        achievement: '',
      },
      rules2: {
        baseContent: [
          {
            required: true,
            message: "1.立项依据、研究内容、目标以及拟解决的关键科学问题不能为空",
          },
        ],
        approach: [
          {
            required: true,
            message: "2.拟采取的研究方案及可行性分析、本项目的特色与创新之处不能为空",
          },
        ],
        achievement: [
          {
            required: true,
            message: "3.预期研究结果及表达形式不能为空",
          },
        ],
      },
      formData3: {
        memberList: []
      },
      formData4: {
        phaseType: '1',
        inZcQtczbkBudget: 0,
        inZcDwBudget: 0,
        inZcQtBudget: 0,
        outTbSbBudget: 0,
        outZcSbBudget: 0,
        outTbYwBudget: 0,
        outZcYwBudget: 0,
        outTbLwBudget: 0,
        outZcLwBudget: 0,
        outTbGlBudget: 0,
        outZcGlBudget: 0,
        outTbJxzcBudget: 0,
        outZcJxzcBudget: 0,
      },
      formData5: {
        ProjectResearchPlan: [],
      },
      formData6: {
        kpiList: []
      },
      rules6: {},
      formData7: {
        reportContent: '<p style="margin: 0pt 0pt 0.0001pt; text-align: justify; font-family: 宋体; font-size: 12pt; line-height: 1.5;"><strong><span style="font-family: 宋体; font-weight: bold; font-size: 12pt; line-height: 1.5;"><span style="font-family: 宋体; line-height: 1.5; font-size: 12pt;">（</span></span></strong><strong><span style="font-family: 宋体; font-weight: bold; font-size: 12pt; line-height: 1.5;"><span style="font-family: 宋体; line-height: 1.5; font-size: 12pt;">一</span></span></strong><strong><span style="font-family: 宋体; font-weight: bold; font-size: 12pt; line-height: 1.5;"><span style="font-family: 宋体; line-height: 1.5; font-size: 12pt;">）</span></span></strong><strong><span style="font-family: 宋体; font-weight: bold; font-size: 12pt; line-height: 1.5;"><span style="font-family: 宋体; line-height: 1.5; font-size: 12pt;">立项依据</span></span></strong></p><p style="text-indent: 24pt; margin: 0pt 0pt 0.0001pt; text-align: justify; font-family: 宋体; font-size: 12pt; line-height: 1.5;"><span style="font-family: 宋体; font-size: 12pt; line-height: 1.5;"><span style="font-family: 宋体; line-height: 1.5; font-size: 12pt;">（</span><span style="font-family: 宋体; line-height: 1.5; font-size: 12pt;">1）目的意义</span></span></p><p style="text-indent: 24pt; margin: 0pt 0pt 0.0001pt; text-align: justify; font-family: 宋体; font-size: 12pt; line-height: 1.5;"><span style="font-family: 宋体; font-size: 12pt; line-height: 1.5;"><span style="font-family: 宋体; line-height: 1.5; font-size: 12pt;">（</span><span style="font-family: 宋体; line-height: 1.5; font-size: 12pt;">2）国内外同类产品和技术情况</span></span></p><p style="text-indent: 24pt; margin: 0pt 0pt 0.0001pt; text-align: justify; font-family: 宋体; font-size: 12pt; line-height: 1.5;"><span style="font-family: 宋体; font-size: 12pt; line-height: 1.5;"><span style="font-family: 宋体; line-height: 1.5; font-size: 12pt;">（</span><span style="font-family: 宋体; line-height: 1.5; font-size: 12pt;">3）市场预测和发展趋势</span></span></p><p style="text-align: center; line-height: 1.5; margin: 0pt 0pt 0.0001pt; font-family: 宋体; font-size: 12pt;" align="center"><strong><span style="font-family: 宋体; line-height: 1.5; font-size: 12pt;"><span style="font-family: 宋体; line-height: 1.5; font-size: 12pt;">表</span></span></strong><strong><span style="font-family: 宋体; line-height: 1.5; font-size: 12pt;"><span style="font-family: 宋体; line-height: 1.5; font-size: 12pt;">1 国内外从事相关研究的主要机构（不超过5家）</span></span></strong></p><div align="center"><table style="border-collapse: collapse; border: none; font-family: \'Times New Roman\'; font-size: 10pt;" border="1" cellspacing="0" data-mce-style="border-collapse: collapse; border: none; font-family: \'Times New Roman\'; font-size: 10pt;"><tbody><tr style="height: 42.0000pt;" data-mce-style="height: 42.0000pt;"><td style="width: 35.5000pt; padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; border: 1.0000pt solid windowtext;" valign="center" width="35" data-mce-style="width: 35.5000pt; padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; border: 1.0000pt solid windowtext;"><p style="text-align: center; margin: 0pt 0pt 0.0001pt; font-family: 宋体; font-size: 12pt; line-height: 1.5;" align="center"><strong><span style="font-family: 宋体; font-weight: bold; font-size: 12pt; line-height: 1.5;"><span style="font-family: 宋体; line-height: 1.5; font-size: 12pt;">序号</span></span></strong></p></td><td style="width: 59.1500pt; padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; border: 1.0000pt solid windowtext;" valign="center" width="59" data-mce-style="width: 59.1500pt; padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; border: 1.0000pt solid windowtext;"><p style="text-align: center; margin: 0pt 0pt 0.0001pt; font-family: 宋体; font-size: 12pt; line-height: 1.5;" align="center"><strong><span style="font-family: 宋体; font-weight: bold; font-size: 12pt; line-height: 1.5;"><span style="font-family: 宋体; line-height: 1.5; font-size: 12pt;">机构</span></span></strong><strong><span style="font-family: 宋体; font-weight: bold; font-size: 12pt; line-height: 1.5;"><span style="font-family: 宋体; line-height: 1.5; font-size: 12pt;">名称</span></span></strong></p></td><td style="width: 60.6000pt; padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; border: 1.0000pt solid windowtext;" valign="center" width="60" data-mce-style="width: 60.6000pt; padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; border: 1.0000pt solid windowtext;"><p style="text-align: center; margin: 0pt 0pt 0.0001pt; font-family: 宋体; font-size: 12pt; line-height: 1.5;" align="center"><strong><span style="font-family: 宋体; font-weight: bold; font-size: 12pt; line-height: 1.5;"><span style="font-family: 宋体; line-height: 1.5; font-size: 12pt;">相关研究内容</span></span></strong></p></td><td style="width: 71.5000pt; padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; border: 1.0000pt solid windowtext;" valign="center" width="71" data-mce-style="width: 71.5000pt; padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; border: 1.0000pt solid windowtext;"><p style="text-align: center; margin: 0pt 0pt 0.0001pt; font-family: 宋体; font-size: 12pt; line-height: 1.5;" align="center"><strong><span style="font-family: 宋体; font-weight: bold; font-size: 12pt; line-height: 1.5;"><span style="font-family: 宋体; line-height: 1.5; font-size: 12pt;">相关研究</span></span></strong></p><p style="text-align: center; margin: 0pt 0pt 0.0001pt; font-family: 宋体; font-size: 12pt; line-height: 1.5;" align="center"><strong><span style="font-family: 宋体; font-weight: bold; font-size: 12pt; line-height: 1.5;"><span style="font-family: 宋体; line-height: 1.5; font-size: 12pt;">成果</span></span></strong></p></td><td style="width: 76.2500pt; padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; border: 1.0000pt solid windowtext;" valign="center" width="76" data-mce-style="width: 76.2500pt; padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; border: 1.0000pt solid windowtext;"><p style="text-align: center; margin: 0pt 0pt 0.0001pt; font-family: 宋体; font-size: 12pt; line-height: 1.5;" align="center"><strong><span style="font-family: 宋体; font-weight: bold; font-size: 12pt; line-height: 1.5;"><span style="font-family: 宋体; line-height: 1.5; font-size: 12pt;">成果</span></span></strong><strong><span style="font-family: 宋体; font-weight: bold; font-size: 12pt; line-height: 1.5;"><span style="font-family: 宋体; line-height: 1.5; font-size: 12pt;">应用</span></span></strong><strong><span style="font-family: 宋体; font-weight: bold; font-size: 12pt; line-height: 1.5;"><span style="font-family: 宋体; line-height: 1.5; font-size: 12pt;">情</span></span></strong><strong><span style="font-family: 宋体; font-weight: bold; font-size: 12pt; line-height: 1.5;"><span style="font-family: 宋体; line-height: 1.5; font-size: 12pt;">况</span></span></strong></p></td></tr><tr style="height: 24.2000pt;" data-mce-style="height: 24.2000pt;"><td style="width: 35.5000pt; padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; border-left: 1.0000pt solid windowtext; border-right: 1.0000pt solid windowtext; border-top: none; border-bottom: 1.0000pt solid windowtext;" valign="center" width="35" data-mce-style="width: 35.5000pt; padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; border-left: 1.0000pt solid windowtext; border-right: 1.0000pt solid windowtext; border-top: none; border-bottom: 1.0000pt solid windowtext;"><p style="text-align: center; margin: 0pt 0pt 0.0001pt; font-family: 宋体; font-size: 12pt; line-height: 1.5;" align="center"><strong><span style="font-family: 宋体; font-weight: bold; font-size: 12pt; line-height: 1.5;"><span style="font-family: 宋体; line-height: 1.5; font-size: 12pt;">1</span></span></strong></p></td><td style="width: 59.1500pt; padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; border-left: 1.0000pt solid windowtext; border-right: 1.0000pt solid windowtext; border-top: none; border-bottom: 1.0000pt solid windowtext;" valign="center" width="59" data-mce-style="width: 59.1500pt; padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; border-left: 1.0000pt solid windowtext; border-right: 1.0000pt solid windowtext; border-top: none; border-bottom: 1.0000pt solid windowtext;"><p style="text-align: center; margin: 0pt 0pt 0.0001pt; font-family: 宋体; font-size: 12pt; line-height: 1.5;" align="center"><strong><span style="font-family: 宋体; font-weight: bold; font-size: 12pt; line-height: 1.5;">&nbsp;</span></strong></p></td><td style="width: 60.6000pt; padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; border-left: 1.0000pt solid windowtext; border-right: 1.0000pt solid windowtext; border-top: none; border-bottom: 1.0000pt solid windowtext;" valign="center" width="60" data-mce-style="width: 60.6000pt; padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; border-left: 1.0000pt solid windowtext; border-right: 1.0000pt solid windowtext; border-top: none; border-bottom: 1.0000pt solid windowtext;"><p style="text-align: center; margin: 0pt 0pt 0.0001pt; font-family: 宋体; font-size: 12pt; line-height: 1.5;" align="center"><strong><span style="font-family: 宋体; font-weight: bold; font-size: 12pt; line-height: 1.5;">&nbsp;</span></strong></p></td><td style="width: 71.5000pt; padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; border-left: 1.0000pt solid windowtext; border-right: 1.0000pt solid windowtext; border-top: none; border-bottom: 1.0000pt solid windowtext;" valign="center" width="71" data-mce-style="width: 71.5000pt; padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; border-left: 1.0000pt solid windowtext; border-right: 1.0000pt solid windowtext; border-top: none; border-bottom: 1.0000pt solid windowtext;"><p style="text-align: center; margin: 0pt 0pt 0.0001pt; font-family: 宋体; font-size: 12pt; line-height: 1.5;" align="center"><strong><span style="font-family: 宋体; font-weight: bold; font-size: 12pt; line-height: 1.5;">&nbsp;</span></strong></p></td><td style="width: 76.2500pt; padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; border-left: 1.0000pt solid windowtext; border-right: 1.0000pt solid windowtext; border-top: none; border-bottom: 1.0000pt solid windowtext;" valign="center" width="76" data-mce-style="width: 76.2500pt; padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; border-left: 1.0000pt solid windowtext; border-right: 1.0000pt solid windowtext; border-top: none; border-bottom: 1.0000pt solid windowtext;"><p style="text-align: center; margin: 0pt 0pt 0.0001pt; font-family: 宋体; font-size: 12pt; line-height: 1.5;" align="center"><strong><span style="font-family: 宋体; font-weight: bold; font-size: 12pt; line-height: 1.5;">&nbsp;</span></strong></p></td></tr><tr style="height: 21.7500pt;" data-mce-style="height: 21.7500pt;"><td style="width: 35.5000pt; padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; border-left: 1.0000pt solid windowtext; border-right: 1.0000pt solid windowtext; border-top: none; border-bottom: 1.0000pt solid windowtext;" valign="center" width="35" data-mce-style="width: 35.5000pt; padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; border-left: 1.0000pt solid windowtext; border-right: 1.0000pt solid windowtext; border-top: none; border-bottom: 1.0000pt solid windowtext;"><p style="text-align: center; margin: 0pt 0pt 0.0001pt; font-family: 宋体; font-size: 12pt; line-height: 1.5;" align="center"><strong><span style="font-family: 宋体; font-weight: bold; font-size: 12pt; line-height: 1.5;"><span style="font-family: 宋体; line-height: 1.5; font-size: 12pt;">2</span></span></strong></p></td><td style="width: 59.1500pt; padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; border-left: 1.0000pt solid windowtext; border-right: 1.0000pt solid windowtext; border-top: none; border-bottom: 1.0000pt solid windowtext;" valign="center" width="59" data-mce-style="width: 59.1500pt; padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; border-left: 1.0000pt solid windowtext; border-right: 1.0000pt solid windowtext; border-top: none; border-bottom: 1.0000pt solid windowtext;"><p style="text-align: center; margin: 0pt 0pt 0.0001pt; font-family: 宋体; font-size: 12pt; line-height: 1.5;" align="center"><strong><span style="font-family: 宋体; font-weight: bold; font-size: 12pt; line-height: 1.5;">&nbsp;</span></strong></p></td><td style="width: 60.6000pt; padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; border-left: 1.0000pt solid windowtext; border-right: 1.0000pt solid windowtext; border-top: none; border-bottom: 1.0000pt solid windowtext;" valign="center" width="60" data-mce-style="width: 60.6000pt; padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; border-left: 1.0000pt solid windowtext; border-right: 1.0000pt solid windowtext; border-top: none; border-bottom: 1.0000pt solid windowtext;"><p style="text-align: center; margin: 0pt 0pt 0.0001pt; font-family: 宋体; font-size: 12pt; line-height: 1.5;" align="center"><strong><span style="font-family: 宋体; font-weight: bold; font-size: 12pt; line-height: 1.5;">&nbsp;</span></strong></p></td><td style="width: 71.5000pt; padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; border-left: 1.0000pt solid windowtext; border-right: 1.0000pt solid windowtext; border-top: none; border-bottom: 1.0000pt solid windowtext;" valign="center" width="71" data-mce-style="width: 71.5000pt; padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; border-left: 1.0000pt solid windowtext; border-right: 1.0000pt solid windowtext; border-top: none; border-bottom: 1.0000pt solid windowtext;"><p style="text-align: center; margin: 0pt 0pt 0.0001pt; font-family: 宋体; font-size: 12pt; line-height: 1.5;" align="center"><strong><span style="font-family: 宋体; font-weight: bold; font-size: 12pt; line-height: 1.5;">&nbsp;</span></strong></p></td><td style="width: 76.2500pt; padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; border-left: 1.0000pt solid windowtext; border-right: 1.0000pt solid windowtext; border-top: none; border-bottom: 1.0000pt solid windowtext;" valign="center" width="76" data-mce-style="width: 76.2500pt; padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; border-left: 1.0000pt solid windowtext; border-right: 1.0000pt solid windowtext; border-top: none; border-bottom: 1.0000pt solid windowtext;"><p style="text-align: center; margin: 0pt 0pt 0.0001pt; font-family: 宋体; font-size: 12pt; line-height: 1.5;" align="center"><strong><span style="font-family: 宋体; font-weight: bold; font-size: 12pt; line-height: 1.5;">&nbsp;</span></strong></p></td></tr><tr style="height: 27.9000pt;" data-mce-style="height: 27.9000pt;"><td style="width: 35.5000pt; padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; border-left: 1.0000pt solid windowtext; border-right: 1.0000pt solid windowtext; border-top: none; border-bottom: 1.0000pt solid windowtext;" valign="center" width="35" data-mce-style="width: 35.5000pt; padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; border-left: 1.0000pt solid windowtext; border-right: 1.0000pt solid windowtext; border-top: none; border-bottom: 1.0000pt solid windowtext;"><p style="text-align: center; margin: 0pt 0pt 0.0001pt; font-family: 宋体; font-size: 12pt; line-height: 1.5;" align="center"><strong><span style="font-family: 宋体; font-weight: bold; font-size: 12pt; line-height: 1.5;"><span style="font-family: 宋体; line-height: 1.5; font-size: 12pt;">……</span></span></strong></p></td><td style="width: 59.1500pt; padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; border-left: 1.0000pt solid windowtext; border-right: 1.0000pt solid windowtext; border-top: none; border-bottom: 1.0000pt solid windowtext;" valign="center" width="59" data-mce-style="width: 59.1500pt; padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; border-left: 1.0000pt solid windowtext; border-right: 1.0000pt solid windowtext; border-top: none; border-bottom: 1.0000pt solid windowtext;"><p style="text-align: center; margin: 0pt 0pt 0.0001pt; font-family: 宋体; font-size: 12pt; line-height: 1.5;" align="center"><strong><span style="font-family: 宋体; font-weight: bold; font-size: 12pt; line-height: 1.5;">&nbsp;</span></strong></p></td><td style="width: 60.6000pt; padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; border-left: 1.0000pt solid windowtext; border-right: 1.0000pt solid windowtext; border-top: none; border-bottom: 1.0000pt solid windowtext;" valign="center" width="60" data-mce-style="width: 60.6000pt; padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; border-left: 1.0000pt solid windowtext; border-right: 1.0000pt solid windowtext; border-top: none; border-bottom: 1.0000pt solid windowtext;"><p style="text-align: center; margin: 0pt 0pt 0.0001pt; font-family: 宋体; font-size: 12pt; line-height: 1.5;" align="center"><strong><span style="font-family: 宋体; font-weight: bold; font-size: 12pt; line-height: 1.5;">&nbsp;</span></strong></p></td><td style="width: 71.5000pt; padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; border-left: 1.0000pt solid windowtext; border-right: 1.0000pt solid windowtext; border-top: none; border-bottom: 1.0000pt solid windowtext;" valign="center" width="71" data-mce-style="width: 71.5000pt; padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; border-left: 1.0000pt solid windowtext; border-right: 1.0000pt solid windowtext; border-top: none; border-bottom: 1.0000pt solid windowtext;"><p style="text-align: center; margin: 0pt 0pt 0.0001pt; font-family: 宋体; font-size: 12pt; line-height: 1.5;" align="center"><strong><span style="font-family: 宋体; font-weight: bold; font-size: 12pt; line-height: 1.5;">&nbsp;</span></strong></p></td><td style="width: 76.2500pt; padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; border-left: 1.0000pt solid windowtext; border-right: 1.0000pt solid windowtext; border-top: none; border-bottom: 1.0000pt solid windowtext;" valign="center" width="76" data-mce-style="width: 76.2500pt; padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; border-left: 1.0000pt solid windowtext; border-right: 1.0000pt solid windowtext; border-top: none; border-bottom: 1.0000pt solid windowtext;"><p style="text-align: center; margin: 0pt 0pt 0.0001pt; font-family: 宋体; font-size: 12pt; line-height: 1.5;" align="center"><strong><span style="font-family: 宋体; font-weight: bold; font-size: 12pt; line-height: 1.5;">&nbsp;</span></strong></p></td></tr></tbody></table></div><p style="text-align: center; line-height: 1.5; margin: 0pt 0pt 0.0001pt; font-family: 宋体; font-size: 12pt;" align="center"><strong><span style="font-family: 宋体; line-height: 1.5; font-size: 12pt;"><span style="font-family: 宋体; line-height: 1.5; font-size: 12pt;">表</span><span style="font-family: 宋体; line-height: 1.5; font-size: 12pt;">2 项目研发相关的主要文献、专利、标准（不超过</span></span></strong><strong><span style="font-family: 宋体; line-height: 1.5; font-size: 12pt;">10</span></strong><strong><span style="font-family: 宋体; line-height: 1.5; font-size: 12pt;"><span style="font-family: 宋体; line-height: 1.5; font-size: 12pt;">项）</span></span></strong></p><div align="center"><table style="border-collapse: collapse; border: none; font-family: \'Times New Roman\'; font-size: 10pt;" border="1" cellspacing="0" data-mce-style="border-collapse: collapse; border: none; font-family: \'Times New Roman\'; font-size: 10pt;"><tbody><tr style="height: 31.4000pt;" data-mce-style="height: 31.4000pt;"><td style="width: 46.5500pt; padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; border: 1.0000pt solid windowtext;" valign="center" width="46" data-mce-style="width: 46.5500pt; padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; border: 1.0000pt solid windowtext;"><p style="text-align: center; margin: 0pt 0pt 0.0001pt; font-family: 宋体; font-size: 12pt; line-height: 1.5;" align="center"><strong><span style="font-family: 宋体; font-weight: bold; font-size: 12pt; line-height: 1.5;"><span style="font-family: 宋体; line-height: 1.5; font-size: 12pt;">序号</span></span></strong></p></td><td style="width: 71.1500pt; padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; border: 1.0000pt solid windowtext;" valign="center" width="71" data-mce-style="width: 71.1500pt; padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; border: 1.0000pt solid windowtext;"><p style="text-align: center; margin: 0pt 0pt 0.0001pt; font-family: 宋体; font-size: 12pt; line-height: 1.5;" align="center"><strong><span style="font-family: 宋体; font-weight: bold; font-size: 12pt; line-height: 1.5;"><span style="font-family: 宋体; line-height: 1.5; font-size: 12pt;">类型（文献、专利、标准）</span></span></strong></p></td><td style="width: 168.3500pt; padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; border: 1.0000pt solid windowtext;" valign="center" width="168" data-mce-style="width: 168.3500pt; padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; border: 1.0000pt solid windowtext;"><p style="text-align: center; margin: 0pt 0pt 0.0001pt; font-family: 宋体; font-size: 12pt; line-height: 1.5;" align="center"><strong><span style="font-family: 宋体; font-weight: bold; font-size: 12pt; line-height: 1.5;"><span style="font-family: 宋体; line-height: 1.5; font-size: 12pt;">名称</span></span></strong></p></td><td style="width: 74.0000pt; padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; border: 1.0000pt solid windowtext;" valign="center" width="74" data-mce-style="width: 74.0000pt; padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; border: 1.0000pt solid windowtext;"><p style="text-align: center; margin: 0pt 0pt 0.0001pt; font-family: 宋体; font-size: 12pt; line-height: 1.5;" align="center"><strong><span style="font-family: 宋体; font-weight: bold; font-size: 12pt; line-height: 1.5;"><span style="font-family: 宋体; line-height: 1.5; font-size: 12pt;">机构</span></span></strong></p></td><td style="width: 51.2500pt; padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; border: 1.0000pt solid windowtext;" valign="center" width="51" data-mce-style="width: 51.2500pt; padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; border: 1.0000pt solid windowtext;"><p style="text-align: center; margin: 0pt 0pt 0.0001pt; font-family: 宋体; font-size: 12pt; line-height: 1.5;" align="center"><strong><span style="font-family: 宋体; font-weight: bold; font-size: 12pt; line-height: 1.5;"><span style="font-family: 宋体; line-height: 1.5; font-size: 12pt;">作者</span></span></strong></p></td></tr><tr style="height: 21.6500pt;" data-mce-style="height: 21.6500pt;"><td style="width: 46.5500pt; padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; border-left: 1.0000pt solid windowtext; border-right: 1.0000pt solid windowtext; border-top: none; border-bottom: 1.0000pt solid windowtext;" valign="center" width="46" data-mce-style="width: 46.5500pt; padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; border-left: 1.0000pt solid windowtext; border-right: 1.0000pt solid windowtext; border-top: none; border-bottom: 1.0000pt solid windowtext;"><p style="text-align: center; margin: 0pt 0pt 0.0001pt; font-family: 宋体; font-size: 12pt; line-height: 1.5;" align="center"><strong><span style="font-family: 宋体; font-weight: bold; font-size: 12pt; line-height: 1.5;"><span style="font-family: 宋体; line-height: 1.5; font-size: 12pt;">1</span></span></strong></p></td><td style="width: 71.1500pt; padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; border-left: 1.0000pt solid windowtext; border-right: 1.0000pt solid windowtext; border-top: none; border-bottom: 1.0000pt solid windowtext;" valign="center" width="71" data-mce-style="width: 71.1500pt; padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; border-left: 1.0000pt solid windowtext; border-right: 1.0000pt solid windowtext; border-top: none; border-bottom: 1.0000pt solid windowtext;"><p style="text-align: center; margin: 0pt 0pt 0.0001pt; font-family: 宋体; font-size: 12pt; line-height: 1.5;" align="center"><strong><span style="font-family: 宋体; font-weight: bold; font-size: 12pt; line-height: 1.5;">&nbsp;</span></strong></p></td><td style="width: 168.3500pt; padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; border-left: 1.0000pt solid windowtext; border-right: 1.0000pt solid windowtext; border-top: none; border-bottom: 1.0000pt solid windowtext;" valign="center" width="168" data-mce-style="width: 168.3500pt; padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; border-left: 1.0000pt solid windowtext; border-right: 1.0000pt solid windowtext; border-top: none; border-bottom: 1.0000pt solid windowtext;"><p style="text-align: center; margin: 0pt 0pt 0.0001pt; font-family: 宋体; font-size: 12pt; line-height: 1.5;" align="center"><strong><span style="font-family: 宋体; font-weight: bold; font-size: 12pt; line-height: 1.5;">&nbsp;</span></strong></p></td><td style="width: 74.0000pt; padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; border-left: 1.0000pt solid windowtext; border-right: 1.0000pt solid windowtext; border-top: none; border-bottom: 1.0000pt solid windowtext;" valign="top" width="74" data-mce-style="width: 74.0000pt; padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; border-left: 1.0000pt solid windowtext; border-right: 1.0000pt solid windowtext; border-top: none; border-bottom: 1.0000pt solid windowtext;"><p style="text-align: center; margin: 0pt 0pt 0.0001pt; font-family: 宋体; font-size: 12pt; line-height: 1.5;" align="center"><strong><span style="font-family: 宋体; font-weight: bold; font-size: 12pt; line-height: 1.5;">&nbsp;</span></strong></p></td><td style="width: 51.2500pt; padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; border-left: 1.0000pt solid windowtext; border-right: 1.0000pt solid windowtext; border-top: none; border-bottom: 1.0000pt solid windowtext;" valign="center" width="51" data-mce-style="width: 51.2500pt; padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; border-left: 1.0000pt solid windowtext; border-right: 1.0000pt solid windowtext; border-top: none; border-bottom: 1.0000pt solid windowtext;"><p style="text-align: center; margin: 0pt 0pt 0.0001pt; font-family: 宋体; font-size: 12pt; line-height: 1.5;" align="center"><strong><span style="font-family: 宋体; font-weight: bold; font-size: 12pt; line-height: 1.5;">&nbsp;</span></strong></p></td></tr><tr style="height: 21.6500pt;" data-mce-style="height: 21.6500pt;"><td style="width: 46.5500pt; padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; border-left: 1.0000pt solid windowtext; border-right: 1.0000pt solid windowtext; border-top: none; border-bottom: 1.0000pt solid windowtext;" valign="center" width="46" data-mce-style="width: 46.5500pt; padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; border-left: 1.0000pt solid windowtext; border-right: 1.0000pt solid windowtext; border-top: none; border-bottom: 1.0000pt solid windowtext;"><p style="text-align: center; margin: 0pt 0pt 0.0001pt; font-family: 宋体; font-size: 12pt; line-height: 1.5;" align="center"><strong><span style="font-family: 宋体; font-weight: bold; font-size: 12pt; line-height: 1.5;"><span style="font-family: 宋体; line-height: 1.5; font-size: 12pt;">2</span></span></strong></p></td><td style="width: 71.1500pt; padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; border-left: 1.0000pt solid windowtext; border-right: 1.0000pt solid windowtext; border-top: none; border-bottom: 1.0000pt solid windowtext;" valign="center" width="71" data-mce-style="width: 71.1500pt; padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; border-left: 1.0000pt solid windowtext; border-right: 1.0000pt solid windowtext; border-top: none; border-bottom: 1.0000pt solid windowtext;"><p style="text-align: center; margin: 0pt 0pt 0.0001pt; font-family: 宋体; font-size: 12pt; line-height: 1.5;" align="center"><strong><span style="font-family: 宋体; font-weight: bold; font-size: 12pt; line-height: 1.5;">&nbsp;</span></strong></p></td><td style="width: 168.3500pt; padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; border-left: 1.0000pt solid windowtext; border-right: 1.0000pt solid windowtext; border-top: none; border-bottom: 1.0000pt solid windowtext;" valign="center" width="168" data-mce-style="width: 168.3500pt; padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; border-left: 1.0000pt solid windowtext; border-right: 1.0000pt solid windowtext; border-top: none; border-bottom: 1.0000pt solid windowtext;"><p style="text-align: center; margin: 0pt 0pt 0.0001pt; font-family: 宋体; font-size: 12pt; line-height: 1.5;" align="center"><strong><span style="font-family: 宋体; font-weight: bold; font-size: 12pt; line-height: 1.5;">&nbsp;</span></strong></p></td><td style="width: 74.0000pt; padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; border-left: 1.0000pt solid windowtext; border-right: 1.0000pt solid windowtext; border-top: none; border-bottom: 1.0000pt solid windowtext;" valign="top" width="74" data-mce-style="width: 74.0000pt; padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; border-left: 1.0000pt solid windowtext; border-right: 1.0000pt solid windowtext; border-top: none; border-bottom: 1.0000pt solid windowtext;"><p style="text-align: center; margin: 0pt 0pt 0.0001pt; font-family: 宋体; font-size: 12pt; line-height: 1.5;" align="center"><strong><span style="font-family: 宋体; font-weight: bold; font-size: 12pt; line-height: 1.5;">&nbsp;</span></strong></p></td><td style="width: 51.2500pt; padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; border-left: 1.0000pt solid windowtext; border-right: 1.0000pt solid windowtext; border-top: none; border-bottom: 1.0000pt solid windowtext;" valign="center" width="51" data-mce-style="width: 51.2500pt; padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; border-left: 1.0000pt solid windowtext; border-right: 1.0000pt solid windowtext; border-top: none; border-bottom: 1.0000pt solid windowtext;"><p style="text-align: center; margin: 0pt 0pt 0.0001pt; font-family: 宋体; font-size: 12pt; line-height: 1.5;" align="center"><strong><span style="font-family: 宋体; font-weight: bold; font-size: 12pt; line-height: 1.5;">&nbsp;</span></strong></p></td></tr><tr style="height: 21.6500pt;" data-mce-style="height: 21.6500pt;"><td style="width: 46.5500pt; padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; border-left: 1.0000pt solid windowtext; border-right: 1.0000pt solid windowtext; border-top: none; border-bottom: 1.0000pt solid windowtext;" valign="center" width="46" data-mce-style="width: 46.5500pt; padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; border-left: 1.0000pt solid windowtext; border-right: 1.0000pt solid windowtext; border-top: none; border-bottom: 1.0000pt solid windowtext;"><p style="text-align: center; margin: 0pt 0pt 0.0001pt; font-family: 宋体; font-size: 12pt; line-height: 1.5;" align="center"><strong><span style="font-family: 宋体; font-weight: bold; font-size: 12pt; line-height: 1.5;"><span style="font-family: 宋体; line-height: 1.5; font-size: 12pt;">…</span></span></strong></p></td><td style="width: 71.1500pt; padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; border-left: 1.0000pt solid windowtext; border-right: 1.0000pt solid windowtext; border-top: none; border-bottom: 1.0000pt solid windowtext;" valign="center" width="71" data-mce-style="width: 71.1500pt; padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; border-left: 1.0000pt solid windowtext; border-right: 1.0000pt solid windowtext; border-top: none; border-bottom: 1.0000pt solid windowtext;"><p style="text-align: center; margin: 0pt 0pt 0.0001pt; font-family: 宋体; font-size: 12pt; line-height: 1.5;" align="center"><strong><span style="font-family: 宋体; font-weight: bold; font-size: 12pt; line-height: 1.5;">&nbsp;</span></strong></p></td><td style="width: 168.3500pt; padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; border-left: 1.0000pt solid windowtext; border-right: 1.0000pt solid windowtext; border-top: none; border-bottom: 1.0000pt solid windowtext;" valign="center" width="168" data-mce-style="width: 168.3500pt; padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; border-left: 1.0000pt solid windowtext; border-right: 1.0000pt solid windowtext; border-top: none; border-bottom: 1.0000pt solid windowtext;"><p style="text-align: center; margin: 0pt 0pt 0.0001pt; font-family: 宋体; font-size: 12pt; line-height: 1.5;" align="center"><strong><span style="font-family: 宋体; font-weight: bold; font-size: 12pt; line-height: 1.5;">&nbsp;</span></strong></p></td><td style="width: 74.0000pt; padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; border-left: 1.0000pt solid windowtext; border-right: 1.0000pt solid windowtext; border-top: none; border-bottom: 1.0000pt solid windowtext;" valign="top" width="74" data-mce-style="width: 74.0000pt; padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; border-left: 1.0000pt solid windowtext; border-right: 1.0000pt solid windowtext; border-top: none; border-bottom: 1.0000pt solid windowtext;"><p style="text-align: center; margin: 0pt 0pt 0.0001pt; font-family: 宋体; font-size: 12pt; line-height: 1.5;" align="center"><strong><span style="font-family: 宋体; font-weight: bold; font-size: 12pt; line-height: 1.5;">&nbsp;</span></strong></p></td><td style="width: 51.2500pt; padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; border-left: 1.0000pt solid windowtext; border-right: 1.0000pt solid windowtext; border-top: none; border-bottom: 1.0000pt solid windowtext;" valign="center" width="51" data-mce-style="width: 51.2500pt; padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; border-left: 1.0000pt solid windowtext; border-right: 1.0000pt solid windowtext; border-top: none; border-bottom: 1.0000pt solid windowtext;"><p style="text-align: center; margin: 0pt 0pt 0.0001pt; font-family: 宋体; font-size: 12pt; line-height: 1.5;" align="center"><strong><span style="font-family: 宋体; font-weight: bold; font-size: 12pt; line-height: 1.5;">&nbsp;</span></strong></p></td></tr></tbody></table></div><p style="margin: 0pt 0pt 0.0001pt; text-align: justify; font-family: 宋体; font-size: 12pt; line-height: 1.5;"><strong>（二）研究开发内容、方法、技术路线</strong></p><p style="text-indent: 24pt; margin: 0pt 0pt 0.0001pt; text-align: justify; font-family: 宋体; font-size: 12pt; line-height: 1.5;"><span style="font-family: 宋体; font-size: 12pt; line-height: 1.5;"><span style="font-family: 宋体; line-height: 1.5; font-size: 12pt;">（</span></span><span style="font-family: 宋体; font-size: 12pt; line-height: 1.5;"><span style="font-family: 宋体; line-height: 1.5; font-size: 12pt;">1</span></span><span style="font-family: 宋体; font-size: 12pt; line-height: 1.5;"><span style="font-family: 宋体; line-height: 1.5; font-size: 12pt;">）具体研究开发内容和重点解决的技术关键问题</span></span></p><p style="text-indent: 24pt; margin: 0pt 0pt 0.0001pt; text-align: justify; font-family: 宋体; font-size: 12pt; line-height: 1.5;"><span style="font-family: 宋体; font-size: 12pt; line-height: 1.5;"><span style="font-family: 宋体; line-height: 1.5; font-size: 12pt;">（</span></span><span style="font-family: 宋体; font-size: 12pt; line-height: 1.5;"><span style="font-family: 宋体; line-height: 1.5; font-size: 12pt;">2</span></span><span style="font-family: 宋体; font-size: 12pt; line-height: 1.5;"><span style="font-family: 宋体; line-height: 1.5; font-size: 12pt;">）项目的特色和创新之处</span></span></p><p style="text-indent: 24pt; margin: 0pt 0pt 0.0001pt; text-align: justify; font-family: 宋体; font-size: 12pt; line-height: 1.5;"><span style="font-family: 宋体; font-size: 12pt; line-height: 1.5;"><span style="font-family: 宋体; line-height: 1.5; font-size: 12pt;">（</span></span><span style="font-family: 宋体; font-size: 12pt; line-height: 1.5;"><span style="font-family: 宋体; line-height: 1.5; font-size: 12pt;">3</span></span><span style="font-family: 宋体; font-size: 12pt; line-height: 1.5;"><span style="font-family: 宋体; line-height: 1.5; font-size: 12pt;">）达到的技术、经济指标及社会、经济效益</span></span></p><p style="text-indent: 24pt; margin: 0pt 0pt 0.0001pt; text-align: justify; font-family: 宋体; font-size: 12pt; line-height: 1.5;"><span style="font-family: 宋体; font-size: 12pt; line-height: 1.5;"><span style="font-family: 宋体; line-height: 1.5; font-size: 12pt;">（</span></span><span style="font-family: 宋体; font-size: 12pt; line-height: 1.5;"><span style="font-family: 宋体; line-height: 1.5; font-size: 12pt;">4</span></span><span style="font-family: 宋体; font-size: 12pt; line-height: 1.5;"><span style="font-family: 宋体; line-height: 1.5; font-size: 12pt;">）采用的方法、技术路线以及工艺流程、合作方式</span></span></p><p style="margin: 0pt 0pt 0.0001pt; text-align: justify; font-family: 宋体; font-size: 12pt; line-height: 1.5;"><strong>（三）项目总体目标及考核指标、实施年限、年度计划安排与阶段目标</strong></p><p style="text-indent: 24pt; margin: 0pt 0pt 0.0001pt; text-align: justify; font-family: 宋体; font-size: 12pt; line-height: 1.5;"><span style="font-family: 宋体; font-size: 12pt; line-height: 1.5;"><span style="font-family: 宋体; line-height: 1.5; font-size: 12pt;">（</span></span><span style="font-family: 宋体; font-size: 12pt; line-height: 1.5;"><span style="font-family: 宋体; line-height: 1.5; font-size: 12pt;">1</span></span><span style="font-family: 宋体; font-size: 12pt; line-height: 1.5;"><span style="font-family: 宋体; line-height: 1.5; font-size: 12pt;">）总体目标及考核指标</span></span></p><p style="text-indent: 24pt; margin: 0pt 0pt 0.0001pt; text-align: justify; font-family: 宋体; font-size: 12pt; line-height: 1.5;"><span style="font-family: 宋体; font-size: 12pt; line-height: 1.5;"><span style="font-family: 宋体; line-height: 1.5; font-size: 12pt;">1.</span></span><span style="font-family: 宋体; font-size: 12pt; line-height: 1.5;"><span style="font-family: 宋体; line-height: 1.5; font-size: 12pt;">申报项目与所属指南方向的关联</span></span><span style="font-family: 宋体; font-size: 12pt; line-height: 1.5;"><span style="font-family: 宋体; line-height: 1.5; font-size: 12pt;">性</span></span><span style="font-family: 宋体; font-size: 12pt; line-height: 1.5;"><span style="font-family: 宋体; line-height: 1.5; font-size: 12pt;">（包括项目与所属指南方向的匹配性，对指南方向目标的支撑作用）</span></span><span style="font-family: 宋体; font-size: 12pt; line-height: 1.5;"><span style="font-family: 宋体; line-height: 1.5; font-size: 12pt;">；</span></span></p><p style="text-indent: 24pt; margin: 0pt 0pt 0.0001pt; text-align: justify; font-family: 宋体; font-size: 12pt; line-height: 1.5;"><span style="font-family: 宋体; font-size: 12pt; line-height: 1.5;"><span style="font-family: 宋体; line-height: 1.5; font-size: 12pt;">2.</span></span><span style="font-family: 宋体; font-size: 12pt; line-height: 1.5;"><span style="font-family: 宋体; line-height: 1.5; font-size: 12pt;">项目目标及考核指标、评测方式</span><span style="font-family: 宋体; line-height: 1.5; font-size: 12pt;">/方法。</span></span></p><p style="text-indent: 24pt; margin: 0pt 0pt 0.0001pt; text-align: justify; font-family: 宋体; font-size: 12pt; line-height: 1.5;"><span style="font-family: 宋体; font-size: 12pt; line-height: 1.5;"><span style="font-family: 宋体; line-height: 1.5; font-size: 12pt;">（</span></span><span style="font-family: 宋体; font-size: 12pt; line-height: 1.5;"><span style="font-family: 宋体; line-height: 1.5; font-size: 12pt;">1</span></span><span style="font-family: 宋体; font-size: 12pt; line-height: 1.5;"><span style="font-family: 宋体; line-height: 1.5; font-size: 12pt;">）实施年限</span></span></p><p style="text-indent: 24pt; margin: 0pt 0pt 0.0001pt; text-align: justify; font-family: 宋体; font-size: 12pt; line-height: 1.5;"><span style="font-family: 宋体; font-size: 12pt; line-height: 1.5;"><span style="font-family: 宋体; line-height: 1.5; font-size: 12pt;">（</span></span><span style="font-family: 宋体; font-size: 12pt; line-height: 1.5;"><span style="font-family: 宋体; line-height: 1.5; font-size: 12pt;">2</span></span><span style="font-family: 宋体; font-size: 12pt; line-height: 1.5;"><span style="font-family: 宋体; line-height: 1.5; font-size: 12pt;">）年度计划安排与阶段目标</span></span></p><p style="margin: 0pt 0pt 0.0001pt; text-align: justify; font-family: 宋体; font-size: 12pt; line-height: 1.5;"><strong><span style="font-family: 宋体; font-weight: bold; font-size: 12pt; line-height: 1.5;"><span style="font-family: 宋体; line-height: 1.5; font-size: 12pt;">（</span></span></strong><strong><span style="font-family: 宋体; font-weight: bold; font-size: 12pt; line-height: 1.5;"><span style="font-family: 宋体; line-height: 1.5; font-size: 12pt;">四</span></span></strong><strong><span style="font-family: 宋体; font-weight: bold; font-size: 12pt; line-height: 1.5;"><span style="font-family: 宋体; line-height: 1.5; font-size: 12pt;">）</span></span></strong><strong><span style="font-family: 宋体; font-weight: bold; font-size: 12pt; line-height: 1.5;"><span style="font-family: 宋体; line-height: 1.5; font-size: 12pt;">工作基础和条件</span></span></strong></p><p style="text-indent: 24pt; margin: 0pt 0pt 0.0001pt; text-align: justify; font-family: 宋体; font-size: 12pt; line-height: 1.5;"><span style="font-family: 宋体; font-size: 12pt; line-height: 1.5;"><span style="font-family: 宋体; line-height: 1.5; font-size: 12pt;">（</span></span><span style="font-family: 宋体; font-size: 12pt; line-height: 1.5;"><span style="font-family: 宋体; line-height: 1.5; font-size: 12pt;">1</span></span><span style="font-family: 宋体; font-size: 12pt; line-height: 1.5;"><span style="font-family: 宋体; line-height: 1.5; font-size: 12pt;">）承担单位概况（人员、资产、业务与管理状况）</span></span></p><p style="text-indent: 24pt; margin: 0pt 0pt 0.0001pt; text-align: justify; font-family: 宋体; font-size: 12pt; line-height: 1.5;"><span style="font-family: 宋体; font-size: 12pt; line-height: 1.5;"><span style="font-family: 宋体; line-height: 1.5; font-size: 12pt;">（</span></span><span style="font-family: 宋体; font-size: 12pt; line-height: 1.5;"><span style="font-family: 宋体; line-height: 1.5; font-size: 12pt;">2</span></span><span style="font-family: 宋体; font-size: 12pt; line-height: 1.5;"><span style="font-family: 宋体; line-height: 1.5; font-size: 12pt;">）本项目现有的研究工作基础（包括现有科研装备条件）</span></span></p><p style="text-indent: 24pt; margin: 0pt 0pt 0.0001pt; text-align: justify; font-family: 宋体; font-size: 12pt; line-height: 1.5;"><span style="font-family: 宋体; font-size: 12pt; line-height: 1.5;"><span style="font-family: 宋体; line-height: 1.5; font-size: 12pt;">（</span></span><span style="font-family: 宋体; font-size: 12pt; line-height: 1.5;"><span style="font-family: 宋体; line-height: 1.5; font-size: 12pt;">3</span></span><span style="font-family: 宋体; font-size: 12pt; line-height: 1.5;"><span style="font-family: 宋体; line-height: 1.5; font-size: 12pt;">）本项目相关技术已获得的</span></span><span style="font-family: 宋体; font-size: 12pt; line-height: 1.5;"><span style="font-family: 宋体; line-height: 1.5; font-size: 12pt;">经费</span></span><span style="font-family: 宋体; font-size: 12pt; line-height: 1.5;"><span style="font-family: 宋体; line-height: 1.5; font-size: 12pt;">支持情况</span></span></p><p style="text-indent: 24pt; margin: 0pt 0pt 0.0001pt; text-align: justify; font-family: 宋体; font-size: 12pt; line-height: 1.5;"><span style="font-family: 宋体; font-size: 12pt; line-height: 1.5;"><span style="font-family: 宋体; line-height: 1.5; font-size: 12pt;">（</span></span><span style="font-family: 宋体; font-size: 12pt; line-height: 1.5;"><span style="font-family: 宋体; line-height: 1.5; font-size: 12pt;">4</span></span><span style="font-family: 宋体; font-size: 12pt; line-height: 1.5;"><span style="font-family: 宋体; line-height: 1.5; font-size: 12pt;">）对环境的影响及预防治理方案</span></span></p><p style="margin: 0pt 0pt 0.0001pt; text-align: justify; font-family: 宋体; font-size: 12pt; line-height: 1.5;"><strong><span style="font-family: 宋体; font-weight: bold; font-size: 12pt; line-height: 1.5;"><span style="font-family: 宋体; line-height: 1.5; font-size: 12pt;">（</span></span></strong><strong><span style="font-family: 宋体; font-weight: bold; font-size: 12pt; line-height: 1.5;"><span style="font-family: 宋体; line-height: 1.5; font-size: 12pt;">五</span></span></strong><strong><span style="font-family: 宋体; font-weight: bold; font-size: 12pt; line-height: 1.5;"><span style="font-family: 宋体; line-height: 1.5; font-size: 12pt;">）</span></span></strong><strong><span style="font-family: 宋体; font-weight: bold; font-size: 12pt; line-height: 1.5;"><span style="font-family: 宋体; line-height: 1.5; font-size: 12pt;">本项目各参加单位工作分工及经费情况</span></span></strong></p><p style="text-indent: 24pt; margin: 0pt 0pt 0.0001pt; text-align: justify; font-family: 宋体; font-size: 12pt; line-height: 1.5;"><span style="font-family: 宋体; font-size: 12pt; line-height: 1.5;"><span style="font-family: 宋体; line-height: 1.5; font-size: 12pt;">（</span></span><span style="font-family: 宋体; font-size: 12pt; line-height: 1.5;"><span style="font-family: 宋体; line-height: 1.5; font-size: 12pt;">1</span></span><span style="font-family: 宋体; font-size: 12pt; line-height: 1.5;"><span style="font-family: 宋体; line-height: 1.5; font-size: 12pt;">）本项目各参与单位工作分工，参与单位、团队的选择原因及其优势</span></span></p><p style="text-indent: 24pt; margin: 0pt 0pt 0.0001pt; text-align: justify; font-family: 宋体; font-size: 12pt; line-height: 1.5;"><span style="font-family: 宋体; font-size: 12pt; line-height: 1.5;"><span style="font-family: 宋体; line-height: 1.5; font-size: 12pt;">（</span></span><span style="font-family: 宋体; font-size: 12pt; line-height: 1.5;"><span style="font-family: 宋体; line-height: 1.5; font-size: 12pt;">2</span></span><span style="font-family: 宋体; font-size: 12pt; line-height: 1.5;"><span style="font-family: 宋体; line-height: 1.5; font-size: 12pt;">）本项目经费情况</span></span></p><p style="margin: 0pt 0pt 0.0001pt; text-align: justify; font-family: 宋体; font-size: 12pt; line-height: 1.5;"><strong><span style="font-family: 宋体; font-weight: bold; font-size: 12pt; line-height: 1.5;"><span style="font-family: 宋体; line-height: 1.5; font-size: 12pt;">（六）依托的科技创新平台简介及平台具体分工</span></span></strong></p>',
      },
      rules7: {
        reportContent: [
          {
            required: true,
            message: "项目可行性研究报告不能为空",
          },
        ],
      },
      formData8: {
        kpiList: []
      },
      formData9: {
        unitList: []
      },
      activeForm: 0,
      applyLoading: false,
      stepList: [
        {
          id: 'step0',
          title: '申报说明',
          require: false,
        },
        {
          id: 'step1',
          title: '基本信息',
          require: true,
        },
        {
          id: 'step2',
          title: '项目概况',
          require: true,
        },
        {
          id: 'step3',
          title: '研究人员',
          require: true,
        },
        {
          id: 'step4',
          title: '项目经费',
          require: true,
        },
        {
          id: 'step5',
          title: '项目进度',
          require: true,
        },
        {
          id: 'step6',
          title: '项目绩效指标',
          require: true,
        },
        {
          id: 'step7',
          title: '项目可行性研究报告',
          require: true,
        },
        {
          id: 'step8',
          title: '个人代表性研究成果',
          require: true,
        },
        {
          id: 'step9',
          title: '单位信息',
          require: true,
        },
        {
          id: 'step10',
          title: '附件信息',
          require: false,
        },
      ],
      projectCategoryData: [],
      projectCategoryColumns: [
        {
          colKey: "name",
          title: "项目类别",
        },
        {
          colKey: "startDate",
          title: "申报开始时间",
          align: "center",
          width: 200
        },
        {
          colKey: "endDate",
          title: "申报结束时间",
          align: "center",
          width: 200
        },
        {
          colKey: "manageEndDate",
          title: "归口单位推荐截止时间",
          align: "center",
          width: 200
        },
        {
          colKey: "applyStatus",
          title: "申报状态",
          align: "center",
          width: 200
        },
        {
          colKey: 'note',
          title: "描述",
          ellipsis: true
        },
      ],
      projectCategoryColumnsJt: [
        {
          colKey: "name",
          title: "项目类别",
        },
        {
          colKey: "startDate",
          title: "申报开始时间",
          align: "center",
          width: 200
        },
        {
          colKey: "endDate",
          title: "申报结束时间",
          align: "center",
          width: 200
        },
        {
          colKey: "declareEndDate",
          title: "申报单位审批截止时间",
          align: "center",
          width: 200
        },
        {
          colKey: "manageEndDate",
          title: "归口单位推荐截止时间",
          align: "center",
          width: 200
        },
        {
          colKey: "applyStatus",
          title: "申报状态",
          align: "center",
          width: 200
        },
        {
          colKey: 'note',
          title: "描述",
          ellipsis: true
        },
      ],
    }
  },
  watch: {
    activeForm: {
      immediate: true,
      handler (val) {
        // this.$refs.form?.clearValidate();
        this.oldUser = null;
        // document.getElementsByClassName("t-layout__content").scrollTop;
        const targetEle = document.getElementsByClassName("base-container")[0]
        if (targetEle) {
          const { pos, top } = targetEle.style;
          targetEle.style.position = 'relative';
          targetEle.style.top = '-100px';
          targetEle.scrollIntoView({ behavior: 'smooth', block: 'start', inline: "nearest" });
          targetEle.style.top = top;
          targetEle.style.position = pos;
        }
        // document.getElementById("main").scrollIntoView({behavior: "smooth", block: "start", inline: "nearest"})
      }
    }
  },
  created () {
    const taskId = this.$route.params && this.$route.params.taskId;
    // this.isShowSubmitBtn =  this.$route.params ? this.$route.params.showSubmitBtn !== 'none' : true
    this.isShowSubmitBtn = this.$route.params.showSubmitBtn === 'true'
    this.projectStatus = this.$route.query.projectStatus
    this.secondReviewType = this.$route.query.secondReviewType

    if (!taskId) {
      this.$message.error("任务id丢失返回项目");
      this.$router.push("/kjxm/apply/apply-my");
      return false;
    }
    this.taskId = taskId;
    const activeForm = Number(sessionStorage.getItem(`${taskId}-kjxm-project-activeForm`)) || 0;

    this.getPlanCategoryList();
    this.getDeptTreeSelect();
    this.getProfTitTreeSelect();
    this.getManagerDeptById();
    this.onCurChanged(activeForm);
  },
  methods: {
    updateEndDateOnSubmit (projectCategory) {
      this.$api.kjxm.project.getById(projectCategory).then(res => {
        this.endDateOnSubmit = res.data.endDate
      }).catch(e => {
        this.$message.error(e.toString())
      })
    },
    onKeyWordChange (val) {
      const keyword = this.formData1.keyWordList.concat(this.formData1.digestKeyWordList).join(";")
      if (keyword) {
        this.$api.kjxm.project.getSimilarProjectByName({ keyWord: keyword }).then(response => {
          this.formData1.projectEsModelList = response.data || [];
        }).catch((e) => {
          this.$message.error(e.toString());
        });
      }
    },
    onProjectCategoryChange (val) {
      // 重点工程科技项目、一般科技项目、职业教育改革专项、青年科技项目、决策支持
      if ([1660720633654, 1660720545908, 3782722107465].includes(val)) {
        this.formData1.subsidyFunding = 0;
      }
      // 标准制修订 跳转标准化子系统
      if ([3628227714611].includes(val)) {
        this.$router.push("/bzh/suggest/suggest-my")
      }

    },
    getProjectId () {
      return sessionStorage.getItem(`${this.taskId}-kjxm-project-step1`)
    },
    onIdCardChange (val) {
      const birthday = getIdCardBirthday(val);
      if (birthday !== "") {
        this.formData1.projectLeader.birthDate = birthday.slice(0, 7);
      }
    },
    getManagerDeptById () {
      return this.$api.system.dept.getManagerDeptById(this.$store.state.user.deptId).then(response => {
        this.formData1.managerDeptId = this.formData1.managerDeptId || response.data.id;
        this.formData1.managerDeptName = this.formData1.managerDeptName || response.data.deptName;
      }).catch((e) => {
        this.$message.error(e.toString());
      });
    },
    createKeyWordOptions (value) {
      this.dict.type.kjxm_key_word.push({
        label: `${value}`,
        value,
      });
    },
    getProfTitTreeSelect () {
      return this.$api.system.profTit.list().then(response => {
        this.profTitOptions = this.handleTree(response.data, "id");
      }).catch((e) => {
        this.$message.error(e.toString());
      });
    },
    onProfTitIdChange (val, content) {
      this.formData1.projectLeader.profTit = content.node.data.level;
    },
    getDeptTreeSelect () {
      return this.$api.system.dept.treeSelectAllIn().then(response => {
        this.deptMenuOptions = response.data;
      }).catch((e) => {
        this.$message.error(e.toString());
      });
    },
    getPlanCategoryList () {
      this.$api.kjxm.project.planCategoryList(this.queryParams).then(
        (res) => {
          const projectCategoryData = res.data.filter((val) => {
            if (!val.parentId) {
              return true
            }
          })
          this.projectCategoryData = projectCategoryData;
          this.categoryOptions = projectCategoryData.map((val) => ({ label: val.name, value: val.id }))
        }).catch((e) => {
          this.dataLoading = false;
          this.$message.error(e.toString());
        });
    },
    createProjectLeaderOptions (value) {
      this.projectLeaderOptions.push({
        label: `${value}`,
        value,
        name: value
      });
    },
    remoteProjectLeaderMethod (search) {
      this.leaderLoading = true;

      this.$api.system.member.searchList({ name: search }).then(response => {
        this.projectLeaderOptions = response.data.map(val => ({
          ...val,
          label: `${val.name}-${val.idCard}`,
          value: `${val.name}-${val.idCard}`,
        }));
        this.leaderLoading = false;
      }).catch((e) => {
        this.leaderLoading = false;
        this.$message.error(e.toString());
      });
    },
    onLeaderNameChange (val, content) {
      const index = this.projectLeaderOptions.findIndex(val => content?.option?.id === val.id)
      this.projectLeaderOptions[index].label = this.projectLeaderOptions[index].name;
      this.$set(this.projectLeaderOptions, index, this.projectLeaderOptions[index])
      const oldId = this.formData1.projectLeader.id;
      this.$set(this.formData1, "projectLeader", this.projectLeaderOptions[index])
      this.formData1.projectLeader.id = oldId;
    },
    createProjectLinkerOptions (value) {
      this.projectLinkerOptions.push({
        label: `${value}`,
        value,
        name: value
      });
    },
    remoteProjectLinkerMethod (search) {
      this.linkerLoading = true;
      this.$api.system.member.searchList({ name: search }).then(response => {
        this.projectLinkerOptions = response.data.map(val => ({
          ...val,
          label: `${val.name}-${val.idCard}`,
          value: `${val.name}-${val.idCard}`,
        }));
        this.linkerLoading = false;
      }).catch((e) => {
        this.linkerLoading = false;
        this.$message.error(e.toString());
      });
    },
    onLinkerNameChange (val, content) {
      const index = this.projectLinkerOptions.findIndex(val => content.option?.id === val.id)
      this.projectLinkerOptions[index].label = this.projectLinkerOptions[index].name;
      this.$set(this.projectLinkerOptions, index, this.projectLinkerOptions[index])
      const oldId = this.formData1.projectLinker.id;
      this.$set(this.formData1, "projectLinker", this.projectLinkerOptions[index])
      this.formData1.projectLinker.id = oldId;
    },
    isSubmit (name) {
      if (name === "step0") {
        return ""
      }
      return sessionStorage.getItem(`${this.taskId}-kjxm-project-${name}`) ? '已提交' : '未提交';
    },
    onCurChanged (cur, pre) {
      if (![0, 1].includes(cur)) {
        if (!sessionStorage.getItem(`${this.taskId}-kjxm-project-step1`)) {
          this.applyLoading = false;
          this.$message.error("基本信息还未提交")
          return false;
        }
      }
      // 根据不同的activeForm 复查数据
      if (Number(cur) === 1) {
        if (sessionStorage.getItem(`${this.taskId}-kjxm-project-step1`)) {
          const objId = Number(sessionStorage.getItem(`${this.taskId}-kjxm-project-step1`));
          this.$api.kjxm.project.get(objId).then(response => {
            Object.assign(this.formData1, response.data);
            this.formData1.keyWordList = response.data.keyWord.split(",").filter(project => project !== '')
            this.formData1.digestKeyWordList = response.data.digestKeyWord.split(",").filter(project => project !== '')
            this.formData1.dateRange = [response.data.startDate, response.data.endDate]
            this.formData1.projectLeaderResults = response.data.projectLeaderResults || {};
            this.formData1.projectEsModelList = response.data.projectEsModelList || [];
            if (this.formData1.projectEsModelList.length <= 0) {
              this.onKeyWordChange(this.formData1.keyWordList.concat(this.formData1.digestKeyWordList).join(";"))
            }
            this.activeForm = cur;
            sessionStorage.setItem(`${this.taskId}-kjxm-project-activeForm`, cur);
            this.applyLoading = false;
          }).catch((e) => {
            this.applyLoading = false;
            this.$message.error(e.toString());
          });
        } else {
          this.activeForm = cur;
          sessionStorage.setItem(`${this.taskId}-kjxm-project-activeForm`, cur);
          this.applyLoading = false;
        }
      } else if (Number(cur) === 2) {
        if (sessionStorage.getItem(`${this.taskId}-kjxm-project-step2`)) {
          const objId = Number(sessionStorage.getItem(`${this.taskId}-kjxm-project-step2`));
          this.$api.kjxm.project.projectOverviewGet(objId).then(response => {
            Object.assign(this.formData2, response.data);
            this.activeForm = cur;
            sessionStorage.setItem(`${this.taskId}-kjxm-project-activeForm`, cur);
            this.applyLoading = false;
          }).catch((e) => {
            this.applyLoading = false;
            this.$message.error(e.toString());
          });
        } else {
          this.activeForm = cur;
          sessionStorage.setItem(`${this.taskId}-kjxm-project-activeForm`, cur);
          this.applyLoading = false;
        }
      } else if (Number(cur) === 7) {
        if (sessionStorage.getItem(`${this.taskId}-kjxm-project-step7`)) {
          const objId = Number(sessionStorage.getItem(`${this.taskId}-kjxm-project-step7`));
          this.$api.kjxm.project.projectFeasibilityReportGet(objId).then(response => {
            Object.assign(this.formData7, response.data);
            this.activeForm = cur;
            sessionStorage.setItem(`${this.taskId}-kjxm-project-activeForm`, cur);
            this.applyLoading = false;
          }).catch((e) => {
            this.applyLoading = false;
            this.$message.error(e.toString());
          });
        } else {
          this.activeForm = cur;
          sessionStorage.setItem(`${this.taskId}-kjxm-project-activeForm`, cur);
          this.applyLoading = false;
        }

      } else if (Number(cur) === 8) {
        if (sessionStorage.getItem(`${this.taskId}-kjxm-project-step1`)) {
          const objId = Number(sessionStorage.getItem(`${this.taskId}-kjxm-project-step1`));
          this.$api.kjxm.project.projectPersonResultsGet(objId).then(response => {
            Object.assign(this.formData8.kpiList, response.data);
            this.activeForm = cur;
            sessionStorage.setItem(`${this.taskId}-kjxm-project-activeForm`, cur);
            this.applyLoading = false;
          }).catch((e) => {
            this.applyLoading = false;
            this.$message.error(e.toString());
          });
        } else {
          this.activeForm = cur;
          sessionStorage.setItem(`${this.taskId}-kjxm-project-activeForm`, cur);
          this.applyLoading = false;
        }
      } else if (Number(cur) === 10) {
        const objId = Number(sessionStorage.getItem(`${this.taskId}-kjxm-project-step1`));
        this.$api.kjxm.project.get(objId).then(response => {
          this.updateEndDateOnSubmit(response.data.projectCategory)
          if ([1660720633654].includes(response.data.projectCategory)) {
            this.projectFileData = this.projectFileData2;
          } else if ([1662099020236].includes(response.data.projectCategory)) {
            this.projectFileData = this.projectFileData3;
          } else {
            this.projectFileData = this.$options.data.call(this).projectFileData;
          }
          // 判断当前用户是否属于二级单位(归口管理单位)
          // this.$api.system.dept.isAttributeDept().then(cRes => {
          //   if(!cRes.data || this.site_tag !== 'jtt') {
          //     this.projectFileData = this.projectFileData.filter(cItem =>  !['projectGKTYSBH','projectLXSCQKDSM'].includes(cItem.moduleKey))
          //   }
          // })
          getFiles(sessionStorage.getItem(`${this.taskId}-kjxm-project-step1`)).then((res) => {
            const files = {}
            res.data.forEach((project) => {
              if (!files[project.moduleKey]) {
                files[project.moduleKey] = []
              }
              files[project.moduleKey].push({
                name: project.fileName,
                url: project.fullFilePath,
                id: project.id,
                filePath: project.filePath
              })
            })
            const fileLists = []
            this.projectFileData.forEach((val, index) => {
              this.projectFileData[index].fileLists = files[val.moduleKey] || [];
              this.projectFileData[index].fileIds = files[val.moduleKey]?.map(val => val.id) || [];
              fileLists.push(...this.projectFileData[index].fileIds)
            })
            if (fileLists.length > 0) {
              sessionStorage.setItem(`${this.taskId}-kjxm-project-step10`, res.data.length)
            }
            this.activeForm = cur;
            sessionStorage.setItem(`${this.taskId}-kjxm-project-activeForm`, cur);
            this.applyLoading = false;
          }).catch((e) => {
            this.applyLoading = false;
            this.$message.error(e.toString());
          });
        }).catch((e) => {
          this.applyLoading = false;
          this.$message.error(e.toString());
        });
      } else {
        this.activeForm = cur;
        sessionStorage.setItem(`${this.taskId}-kjxm-project-activeForm`, cur);
        this.applyLoading = false;
      }

    },
    onSubmit1 () {
      this.$refs.form.validate().then((validateResult) => {
        if (validateResult === true) {
          if (Number(this.formData1.adviceFunding) < Number(this.formData1.subsidyFunding)) {
            const label = this.site_tag === 'jtt' ? '申请厅补助经费' : '申请集团补助经费';
            this.$message.error(`建议经费总概算:${this.formData1.adviceFunding}不能小于${label}:${this.formData1.subsidyFunding}`);
            return false
          }
          if (this.formData1.projectCategory === 2894777741889 && Number(this.formData1.subsidyFunding) > 5) {
            this.$message.error("申请补助经费不能大于5万");
            return false
          }
          const age = getIdCardAge(this.formData1.projectLeader.idCard)
          if (age < 18) {
            this.$message.error(`项目负责人身份证号需满18岁`);
            return false
          }
          const birthday = getIdCardBirthday(this.formData1.projectLeader.idCard)
          if (birthday.slice(0, 7) !== this.formData1.projectLeader.birthDate) {
            this.$message.error(`项目负责人身份证号与出生年月 不一致`);
            return false
          }

          if (this.lengthLimitObj.digest > this.lengthLimitObj.digestMax) {
            this.$message.error(`中文摘要： 当前字数：${this.lengthLimitObj.digest}，限制字数：${this.lengthLimitObj.digestMax}`)
            return false;
          }

          // 标准制修订 跳转标准化子系统
          if ([3628227714611].includes(this.formData1.projectCategory)) {
            this.$message.info(`标准制修订前往【标准化】子系统`)
            return false;
          }

          this.applyLoading = true;
          [this.formData1.startDate, this.formData1.endDate] = this.formData1.dateRange;
          this.formData1.keyWord = this.formData1.keyWordList.join(",")
          this.formData1.digestKeyWord = this.formData1.digestKeyWordList.join(",")
          this.formData1.projectEsModelList = this.formData1.projectEsModelList.map((val, index) => ({ ...val, sort: index + 1 }))
          if (!sessionStorage.getItem(`${this.taskId}-kjxm-project-step1`)) {
            this.$api.kjxm.project.add(this.formData1).then(response => {
              sessionStorage.setItem(`${this.taskId}-kjxm-project-step1`, response.data.id)
              this.$message.success('提交成功');
              this.onCurChanged(2);
            }).catch((e) => {
              this.applyLoading = false;
              this.$message.error(e.toString());
            });
          } else {
            this.$api.kjxm.project.edit(this.formData1).then(response => {
              this.$message.success('提交成功');
              this.onCurChanged(2);
            }).catch((e) => {
              this.applyLoading = false;
              this.$message.error(e.toString());
            });
          }
        } else {
          const firstError = Object.values(validateResult)[0]?.[0]?.message;
          this.$message.error(firstError);
        }
      });
    },
    onSubmit2 () {
      this.$refs.form.validate().then((validateResult) => {
        if (validateResult === true) {

          if (this.lengthLimitObj.baseContent > this.lengthLimitObj.baseContentMax) {
            this.$message.error(`1.立项依据、研究内容、目标以及拟解决的关键科学问题： 当前字数：${this.lengthLimitObj.baseContent}，限制字数：${this.lengthLimitObj.baseContentMax}`)
            return false;
          }
          if (this.lengthLimitObj.approach > this.lengthLimitObj.approachMax) {
            this.$message.error(`2.拟采取的研究方案及可行性分析、本项目的特色与创新之处： 当前字数：${this.lengthLimitObj.approach}，限制字数：${this.lengthLimitObj.achievementMax}`)
            return false;
          }
          if (this.lengthLimitObj.achievement > this.lengthLimitObj.achievementMax) {
            this.$message.error(`2.拟采取的研究方案及可行性分析、本项目的特色与创新之处： 当前字数：${this.lengthLimitObj.achievement}，限制字数：${this.lengthLimitObj.achievementMax}`)
            return false;
          }

          this.applyLoading = true;

          if (!sessionStorage.getItem(`${this.taskId}-kjxm-project-step2`)) {
            this.$api.kjxm.project.projectOverviewAdd({
              ...this.formData2,
              projectId: sessionStorage.getItem(`${this.taskId}-kjxm-project-step1`)
            }).then(response => {
              sessionStorage.setItem(`${this.taskId}-kjxm-project-step2`, response.data.id)
              this.$message.success('提交成功');
              this.onCurChanged(3);
            }).catch((e) => {
              this.applyLoading = false;
              this.$message.error(e.toString());
            });
          } else {
            this.$api.kjxm.project.projectOverviewUpdate({
              ...this.formData2,
              projectId: sessionStorage.getItem(`${this.taskId}-kjxm-project-step1`)
            }).then(response => {
              this.$message.success('提交成功');
              this.onCurChanged(3);
            }).catch((e) => {
              this.applyLoading = false;
              this.$message.error(e.toString());
            });
          }
        } else {
          const firstError = Object.values(validateResult)[0]?.[0]?.message;
          this.$message.error(firstError);
        }
      })
    },
    onSubmit3 () {
      // 需要判断必填
      const data1 = this.formData3.memberList.filter((val) => ['1', '2'].includes(val.type));
      const data2 = this.formData3.memberList.filter((val) => val.type === '3');
      if (data1.length <= 0) {
        this.$message.error('项目负责人不能为空');
        return
      }
      this.applyLoading = true;
      this.$api.kjxm.project.memberAdd(this.formData3.memberList).then(response => {
        this.$message.success('提交成功');
        sessionStorage.setItem(`${this.taskId}-kjxm-project-step3`, this.formData3.memberList.length)
        this.onCurChanged(4)
      }).catch((e) => {
        this.applyLoading = false;
        this.$message.error(e.toString());
      });
    },
    onSubmit4 () {
      // 判断经费来源 经费支出 是否一致
      const sum1 = (Number(((this.formData4.inTbBudget || 0) * 100).toFixed(2)) + Number(((this.formData4.inZcBudget || 0) * 100).toFixed(2))) / 100;
      const sum2 = (Number(((this.formData4.outTbSbBudget || 0) * 100).toFixed(2)) + Number(((this.formData4.outTbYwBudget || 0) * 100).toFixed(2)) + Number(((this.formData4.outTbLwBudget || 0) * 100).toFixed(2)) + Number(((this.formData4.outTbGlBudget || 0) * 100).toFixed(2)) + Number(((this.formData4.outTbJxzcBudget || 0) * 100).toFixed(2)) + Number(((this.formData4.outZcSbBudget || 0) * 100).toFixed(2)) + Number(((this.formData4.outZcYwBudget || 0) * 100).toFixed(2)) + Number(((this.formData4.outZcLwBudget || 0) * 100).toFixed(2)) + Number(((this.formData4.outZcGlBudget || 0) * 100).toFixed(2)) + Number(((this.formData4.outZcJxzcBudget || 0) * 100).toFixed(2))) / 100;

      if (sum1 !== sum2) {
        this.$message.error('经费来源与经费支出金额不一致');
        return false;
      }
      this.applyLoading = true;
      if (!sessionStorage.getItem(`${this.taskId}-kjxm-project-step4`)) {
        this.$api.kjxm.project.budgetAdd({
          ...this.formData4,
          projectId: sessionStorage.getItem(`${this.taskId}-kjxm-project-step1`)
        }).then(response => {
          sessionStorage.setItem(`${this.taskId}-kjxm-project-step4`, response.data.id);
          this.$message.success('提交成功');
          this.onCurChanged(5)
        }).catch((e) => {
          this.applyLoading = false;
          this.$message.error(e.toString());
        });
      } else {
        this.$api.kjxm.project.budgetEdit({
          ...this.formData4,
          projectId: sessionStorage.getItem(`${this.taskId}-kjxm-project-step1`),
        }).then(response => {
          this.$message.success('提交成功');
          this.onCurChanged(5)
        }).catch((e) => {
          this.applyLoading = false;
          this.$message.error(e.toString());
        });
      }
    },
    onSubmit5 () {
      if (this.formData5.ProjectResearchPlan.length <= 0) {
        this.$message.error('项目进度不能为空');
        return false;
      }
      const isValidate = this.$refs["project-research-plan"].checkData()
      if (!isValidate) {
        return false;
      }

      this.applyLoading = true;

      this.$api.kjxm.project.researchPlanAdd(this.formData5.ProjectResearchPlan).then(response => {
        this.$message.success('提交成功');
        sessionStorage.setItem(`${this.taskId}-kjxm-project-step5`, this.formData5.ProjectResearchPlan.length);
        this.onCurChanged(6)
      }).catch((e) => {
        this.applyLoading = false;
        this.$message.error(e.toString());
      });
    },
    onSubmit6 () {
      if (this.formData6.kpiList.length <= 0) {
        this.$message.error('项目绩效指标不能为空');
        return false;
      }
      const isValidate = this.$refs["project-kpi"].checkData()
      if (!isValidate) {
        return false;
      }
      this.applyLoading = true;
      this.$api.kjxm.project.projectExpectResultsAddOrUpdate(this.formData6.kpiList).then(response => {
        this.$message.success('提交成功');
        sessionStorage.setItem(`${this.taskId}-kjxm-project-step6`, this.formData6.kpiList.length);
        this.onCurChanged(7)
      }).catch((e) => {
        this.applyLoading = false;
        this.$message.error(e.toString());
      });
    },
    onSubmit7 () {
      this.$refs.form.validate().then((validateResult) => {
        if (validateResult === true) {
          this.applyLoading = true;
          if (!sessionStorage.getItem(`${this.taskId}-kjxm-project-step7`)) {
            this.$api.kjxm.project.projectFeasibilityReportAdd({
              ...this.formData7,
              projectId: sessionStorage.getItem(`${this.taskId}-kjxm-project-step1`)
            }).then(response => {
              sessionStorage.setItem(`${this.taskId}-kjxm-project-step7`, response.data.id)
              this.$message.success('提交成功');
              this.onCurChanged(8);
            }).catch((e) => {
              this.applyLoading = false;
              this.$message.error(e.toString());
            });
          } else {
            this.$api.kjxm.project.projectFeasibilityReportUpdate({
              ...this.formData7,
              projectId: sessionStorage.getItem(`${this.taskId}-kjxm-project-step1`)
            }).then(response => {
              this.$message.success('提交成功');
              this.onCurChanged(8);
            }).catch((e) => {
              this.applyLoading = false;
              this.$message.error(e.toString());
            });
          }
        } else {
          const firstError = Object.values(validateResult)[0]?.[0]?.message;
          this.$message.error(firstError);
        }
      })
    },
    onSubmit8 () {
      if (this.formData8.kpiList <= 0) {
        this.$message.error('个人代表性研究成果不能为空');
        return false;
      }
      if (this.formData8.kpiList > 10) {
        this.$message.error('个人代表性研究成果不超过10项');
        return false;
      }
      this.applyLoading = true;
      this.$api.kjxm.project.projectPersonResultsAddList(this.formData8.kpiList).then(response => {
        this.$message.success('提交成功');
        sessionStorage.setItem(`${this.taskId}-kjxm-project-step8`, this.formData8.kpiList.length);
        this.onCurChanged(9)
      }).catch((e) => {
        this.applyLoading = false;
        this.$message.error(e.toString());
      });
    },
    onSubmit9 () {
      const isValidate = this.$refs["project-unit"].checkData()
      if (!isValidate) {
        return false;
      }
      this.applyLoading = true;
      this.$api.kjxm.project.companyAdd(this.formData9.unitList).then(response => {
        this.$message.success('提交成功');
        sessionStorage.setItem(`${this.taskId}-kjxm-project-step9`, this.formData9.unitList.length)
        this.onCurChanged(10)
      }).catch((e) => {
        this.applyLoading = false;
        this.$message.error(e.toString());
      });
    },
    onSubmit10 (type) {
      const sysAttMainIds = []
      this.projectFileData.forEach(val => {
        sysAttMainIds.push(...val.fileIds)
      })
      if (type === 1) {

        const confirmDia = this.$dialog.confirm({
          header: "在评审周期内可以继续修改",
          body: `是否确认提交？`,
          theme: "warning",
          onConfirm: ({ e }) => {
            confirmDia.update({
              confirmBtn: {
                loading: true,
              },
            })
            this.applyLoading = true;
            this.$api.kjxm.project.edit({
              id: Number(sessionStorage.getItem(`${this.taskId}-kjxm-project-step1`)),
              sysAttMainVo: {
                sysAttMainIds
              }
            }).then(response => {
              this.applyLoading = false;

              confirmDia.destroy();
              this.$message.success('修改成功');
              this.close();
            }).catch((e) => {
              this.applyLoading = false;

              confirmDia.update({
                confirmBtn: {
                  loading: false,
                },
              })
              this.$message.error(e.toString());
            });
          },
        })




      } else if (type === 2) {
        const isValidate2 = this.projectFileData.every(val => {
          if (val.require && val.fileIds.length <= 0) {
            this.$message.error(`需要上传${val.c1}`);
            return false;
          }
          return true
        })
        if (!isValidate2) {
          return false
        }
        this.applyLoading = true;
        this.stepList.forEach((val) => {
          if (!sessionStorage.getItem(`${this.taskId}-kjxm-project-${val.id}`) && val.require) {
            this.$message.error(`${val.title}还未提交`)
            this.applyLoading = false;
            return false;
          }
        })
        this.applyLoading = false;
        const confirmDia = this.$dialog.confirm({
          header: "提交后不可再编辑会进入审批流程",
          body: `是否确认提交？`,
          theme: "warning",
          onConfirm: ({ e }) => {
            confirmDia.update({
              confirmBtn: {
                loading: true,
              },
            })
            this.applyLoading = true;
            this.$api.kjxm.project.projectSubmit({
              id: Number(sessionStorage.getItem(`${this.taskId}-kjxm-project-step1`)),
              sysAttMainVo: {
                sysAttMainIds
              }
            }).then(response => {
              sessionStorage.setItem(`${this.taskId}-kjxm-project-step10`, this.projectFileData.length);
              this.applyLoading = false;
              confirmDia.destroy();
              this.$message.success('提交成功');
              this.close();
            }).catch((e) => {
              this.applyLoading = false;
              confirmDia.update({
                confirmBtn: {
                  loading: false,
                },
              })
              this.$message.error(e.toString());
            });
          },
        })
      } else if (type === 3) {
        const confirmDia = this.$dialog.confirm({
          header: "提交后不可再编辑，提交后不可再编辑会进入审批流程。",
          body: `是否确认提交？`,
          theme: "warning",
          onConfirm: ({ e }) => {
            confirmDia.update({
              confirmBtn: {
                loading: true,
              },
            })
            this.applyLoading = true;
            this.$api.kjxm.project.submitFinish({
              id: Number(sessionStorage.getItem(`${this.taskId}-kjxm-project-step1`)),
              sysAttMainVo: {
                sysAttMainIds
              }
            }).then(response => {
              sessionStorage.setItem(`${this.taskId}-kjxm-project-step10`, this.projectFileData.length);
              this.applyLoading = false;
              confirmDia.destroy();
              this.$message.success('提交成功');
              this.close();
            }).catch((e) => {
              this.applyLoading = false;
              confirmDia.update({
                confirmBtn: {
                  loading: false,
                },
              })
              this.$message.error(e.toString());
            });
          },
        })
      } else if (type === 4) {

        this.applyLoading = true;
        this.$api.kjxm.project.edit({
          id: Number(sessionStorage.getItem(`${this.taskId}-kjxm-project-step1`)),
          sysAttMainVo: {
            sysAttMainIds
          }
        }).then(response => {
          this.applyLoading = false;
          this.$message.success('暂存成功');
          this.close();
        }).catch((e) => {
          this.applyLoading = false;
          this.$message.error(e.toString());
        });

      }
    },
    close () {
      this.$tab.closeOpenPage({ path: this.$route.meta.activeMenu || "/kjxm/apply/apply-my" });
    },
  }
}
</script>

<style lang="less" scoped>
.base-container {
  .t-row {
    margin-bottom: 14px;
  }

  .step-card {
    p {
      font-size: 16px;
    }
  }
}
</style>
